-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
71 lines (62 loc) · 1.44 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "calculator"
authors = [{name = "Shako Rzayev", email = "[email protected]"}]
readme = "README.md"
dynamic = ["version", "description"]
requires-python = ">=3.10"
dependencies = [
"dependency-injector >=4.41.0",
"marshmallow >=3.19.0",
"icontract >=2.6.2",
"python-ulid >=1.1.0",
"alembic ==1.9.3",
"SQLAlchemy ==1.4.46",
"fastapi >=0.95.0",
"uvicorn >=0.21.1",
"flask >=2.2.3",
"Flask-Bootstrap >=3.3.7.1",
]
[project.optional-dependencies]
dev = [
"black >=23.1.0",
"isort >=5.12.0",
"autoflake >=1.4",
"flake8 >=6.0.0",
"pre-commit >=2.21.0",
"pytype >= 2023.2.17 ",
"bandit >= 1.7.4",
"flake8-bugbear >= 22.12.6",
"flake8-cognitive-complexity >= 0.1.0",
"pydeps >=1.11.2",
]
test = [
"pytest ==7.1.3",
"pytest-cov == 3.0.0",
"httpx >=0.23.3",
"pytest-asyncio ==0.21.0",
]
[tool.isort]
profile = "black"
py_version = 39
skip = [".gitignore", ".dockerignore"]
extend_skip = [".md", ".json"]
skip_glob = ["docs/*"]
[tool.black]
line-length = 88
target-version = ['py39']
include = '\.pyi?$'
[tool.bandit]
skips = ["B311"]
[tool.pytest.ini_options]
markers = [
"integration: marks tests as integration relatively slow (deselect with '-m \"not integration\"')",
]
addopts = [
"--strict-markers",
"--strict-config",
"-ra",
]
testpaths = "tests"