-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
86 lines (74 loc) · 1.81 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
83
84
85
86
[tool.poetry]
name = "cv"
version = "0.1.0"
description = ""
authors = ["ilyakochankov <[email protected]>"]
[tool.poetry.dependencies]
python = "3.9.8"
matplotlib = "^3.4.3"
scikit-learn = "^1.0.1"
numpy = "^1.21.3"
Flask = "^2.0.2"
flask-apispec = "^0.11.0"
marshmallow = "^3.14.0"
gunicorn = "^20.1.0"
py-healthcheck = "^1.10.1"
environs = "^9.3.4"
Pillow = "^8.4.0"
mediapipe = "^0.8.8"
six = "^1.16.0"
Flask-Cors = "^3.0.10"
typing-extensions = "^3.10.0"
opencv-contrib-python-headless = "^4.5.4"
python-logstash-async = "^2.3.0"
python-json-logger = "^2.0.2"
[tool.poetry.dev-dependencies]
pylint = "2.9.3"
pylint-json2html = "^0.3.0"
isort = "^5.9.3"
black = "21.5b1"
pyproject-flake8 = "^0.0.1-alpha.2"
flake8-html = "^0.4.1"
pytest = "^6.2.5"
coverage = "^6.1.2"
pytest-github-actions-annotate-failures = "^0.1.5"
bandit = "^1.7.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.yapf]
based_on_style = "pep8"
[tool.pylint.'MASTER']
ignore = ".venv, Dockerfile, README.md, Procfile, poetry.lock, pyproject.toml, __init__.py, test_cv.py"
[tool.pylint.'REPORTS']
output-format = "json"
[tool.pylint.messages_control]
max-line-length = 120
disable = [
"missing-docstring",
"import-outside-toplevel",
"invalid-name",
"too-few-public-methods",
"no-member",
"no-name-in-module",
"c-extension-no-member",
"duplicate-code",
"inconsistent-return-statements",
"import-error",
"line-too-long"
]
[tool.isort]
profile = "black"
[tool.flake8]
ignore = ["E203", "W503", "E501"]
max-line-length = 120
format = "html"
htmldir = "flake-report"
exclude = [".venv", "api/v1/cv/__init__.py", "api/v2/cv/__init__.py", "api/v3/cv/__init__.py"]
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"tests",
]
[tool.bandit]
exclude_dirs = ["tests"]