-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
61 lines (52 loc) · 1.48 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
[tool.poetry]
name = "cs-insights-prediction-endpoint"
version = "v0.25.4"
description = "This repository implements the processing of machine-learning methods for cs-insights-backend."
authors = ["Jan Philip Wahle <wahle@uni-wuppertal.de>", "Terry Ruas <ruas@uni-wuppertal.de>", "Alexander von Tottleben <alexander@vontottleben.de>", ]
[tool.poetry.dependencies]
python = ">=3.8,<3.11"
requests = "^2.26.0"
bcrypt = "^3.2.0"
fastapi = "^0.70.0"
uvicorn = "^0.15.0"
pydantic = "^1.8.2"
gensim = "^4.1.2"
PyJWT = "^2.3.0"
python-dotenv = "^0.20.0"
pyLDAvis = "^3.3.1"
pymongo = "=4.1.1"
click = "8.0.2"
mongomock = "^4.1.2"
joblib = "^1.2.0"
[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
pytest-cov = "^3.0.0"
black = "^22.3"
isort = "^5.10.1"
pytest-mock = "^3.6.1"
flake8 = "^3.8.0"
flake8-black = "^0.2.3"
flake8-isort = "^4.1.1"
flake8-annotations = "^2.7.0"
flake8-docstrings = "^1.6.0"
poethepoet = "^0.11.0"
pre-commit = "^2.15.0"
mypy = "^0.910"
requests-mock = "^1.9.3"
types-requests = "^2.27.7"
[tool.poe.tasks]
lint = "flake8 ."
type = "mypy cs_insights_prediction_endpoint tests"
test = "pytest tests/ -s --cov=cs_insights_prediction_endpoint --cov-report term --cov-report=xml --cov-fail-under 100"
doc = "python3 gen_doc.py"
alltest = ["lint", "type", "test"]
isort = "isort ."
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
[tool.black]
line-length = 100
[package]
include = ["cs_insights_prediction_endpoint/*.py"]