-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
82 lines (71 loc) · 1.82 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[tool.poetry]
name = "ddhub-prototype"
version = "0.1.0"
description = "Distributed Design Learning Hub Prototype"
authors = ["Tim Cowlishaw <[email protected]>"]
readme = "README.md"
package-mode=false
[tool.poetry.dependencies]
python = "3.12.5"
python-dotenv = "^1.0.1"
celery = {extras = ["redis"], version = "^5.4.0"}
flower = "^2.0.1"
Flask = "^3.0.3"
elasticsearch = "^8.14.0"
requests = "^2.32.3"
boilerpy3 = "^1.0.7"
pypdf = "^4.2.0"
pyairtable = "^2.3.3"
jinja-markdown2 = "^0.4.0"
more-itertools = "^10.3.0"
redis = "^5.0.7"
pydash = "^8.0.3"
llama-index = "^0.10.68"
llama-index-vector-stores-elasticsearch = "^0.2.5"
llama-index-llms-mistralai = "^0.1.19"
llama-index-embeddings-mistralai = "^0.1.4"
llama-index-storage-docstore-elasticsearch = "^0.1.2"
flask-socketio = "^5.3.6"
nltk = "^3.9"
gevent = "^24.2.1"
watchdog = {extras = ["watchmedo"], version = "^4.0.1"}
gunicorn = {extras = ["gevent"], version = "^23.0.0"}
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.7.1"
mypy = "^1.10.1"
types-requests = "^2.32.0.20240622"
types-flask = "^1.1.6"
types-Flask-SocketIO = "^5.3.0"
types-gevent = "^24.2.0"
celery-types = "^0.22.0"
j2lint = "^1.1.0"
pytest = "^8.2.2"
pytest-mock = "^3.14.0"
pytest-spec = "^3.2.0"
pytest-cov = "^5.0.0"
types-redis = "^4.6.0.20240726"
ipython = "^8.26.0"
vulture = "^2.11"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
target-version = ["py312"]
[tool.isort]
profile = "black"
multi_line_output = 3
py_version = 312
[mypy]
python_version = 3.12
check_untyped_defs = true
ignore_missing_imports = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unused_configs = true
cache_dir = "/tmp/mypy_cache"
[pytest]
mock_use_standalone_module = true
[tool.pytest.ini_options]
addopts = "--spec --cov=ddlh"
[tool.djlint]
ignore="H006"