-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (82 loc) · 2.26 KB
/
Copy pathpyproject.toml
File metadata and controls
91 lines (82 loc) · 2.26 KB
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
87
88
89
90
91
[tool.poetry]
name = "competition-api"
version = "0.1.0"
description = ""
authors = ["Thing 012 <thing-012@aicyberchallenge.com>"]
license = "MIT"
readme = "README.md"
[tool.poetry.scripts]
prestart = "competition_api.prestart:main"
background = "competition_api.background:main"
wait-for-redis = "competition_api.tasks.worker:wait_for_redis"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = "^3.12"
aiofile = "^3.8.8"
alembic = "^1.13.1"
# workaround for broken traceback formatting
# https://github.com/agronholm/anyio/issues/754
# https://github.com/fastapi/fastapi/discussions/11652
anyio = "<4.4.0"
argon2-cffi = "^23.1.0"
arq = "^0.26.0"
asyncpg = "^0.29.0"
azure-identity = "^1.17.1"
azure-storage-blob = {version = "^12.20.0", extras = ["aio"]}
fastapi = "^0.111.0"
gitpython = "^3.1.43"
psycopg2-binary = "^2.9.9"
pydantic = "^2.7.1"
redis = "^4.6.0"
ruamel-yaml = "^0.18.6"
sqlalchemy = {version = "^2.0.30", extras = ["asyncio"]}
sqlalchemy-dlock = "^0.6.1.post1"
structlog = "^24.1.0"
types-redis = "^4.6.0.20240425"
types-whatthepatch = "^1.0.2.5"
uvicorn = "^0.30.0"
uvloop = "^0.19.0"
vyper-config = "^1.2.1"
whatthepatch = "^1.0.5"
[tool.poetry.group.dev.dependencies]
bandit = ">=1.7.8"
black = ">=24.4.2"
isort = ">=5.13.2"
mypy = ">=1.10.0"
pylint = ">=3.1.0"
pytest = ">=8.2.0"
pytest-asyncio = "<0.23" # https://github.com/pytest-dev/pytest-asyncio/issues/706
pytest-cov = ">=5.0.0"
pytest-docker-tools = ">=3.1.3"
safety = ">=3.2.0"
types-psycopg2 = ">=2.9.21.20240417"
[tool.isort]
profile = "black"
line_length = 88
known_first_party = ["competition_api","tests"]
[tool.black]
line-length = 88
[tool.pylint."MESSAGES CONTROL"]
disable = [
"missing-class-docstring",
"missing-function-docstring",
"missing-module-docstring",
"too-few-public-methods",
"too-many-arguments",
"too-many-branches",
"too-many-instance-attributes",
"too-many-locals",
"too-many-return-statements",
"too-many-statements",
"import-error", # superlinter does not run in our venv
"fixme",
"invalid-name"
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.mypy]
allow_redefinition = true
check_untyped_defs = true
ignore_missing_imports = true # superlinter does not run in our venv