-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (94 loc) · 2.33 KB
/
pyproject.toml
File metadata and controls
102 lines (94 loc) · 2.33 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
92
93
94
95
96
97
98
99
100
101
102
[project]
name = "infinite-hashes"
requires-python = "==3.11.*"
version = "0"
dependencies = [
"Django~=4.2.4",
"django-constance[database]==3.1.0",
"django-cors-headers~=4.2.0",
"django-environ~=0.11.2",
"django-extensions==3.2.3",
"django-probes==1.7.0",
"django-debug-toolbar==4.1.0",
"django-structlog[celery]==8.0.0",
"celery~=5.3.1",
"flower~=2.0.0",
"gunicorn==20.1.0",
"psycopg[binary]~=3.1.19",
"redis~=4.6.0",
"sentry-sdk==1.3.0",
"ipython~=8.14.0",
"nox==2025.5.1",
"more-itertools~=10.3.0",
"psutil>=5.9.8",
"prometheus-client~=0.17.0",
"django-prometheus==2.3.1",
"django-business-metrics>=1.0.1,<2",
"turbobt~=0.3.0",
"httpx~=0.26",
"tenacity~=9.1.2",
"pydantic>=2.6",
"pulp>=3.2.2",
"scalecodec>=1.2.11",
"remote-pdb>=2.1.0",
"apscheduler>=3.11.0",
"tomli>=2.2.1",
"tomli-w>=1.2.0",
"tomlkit>=0.13",
"ruff==0.12.2",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = false
[dependency-groups]
test = [
'pytest',
'pytest-django',
'pytest-xdist',
'pytest_httpx',
'pytest-asyncio',
'pytest-cov',
'ipdb',
'freezegun',
]
lint = [
"ruff",
"codespell[toml]",
]
type_check = [
"django-stubs[compatible-mypy]",
"djangorestframework-stubs[compatible-mypy]",
"mypy",
"types-freezegun",
"types-python-dateutil",
"types-requests",
]
[tool.ruff]
src = ["app/src"]
line-length = 120
[tool.ruff.lint]
# TODO add D
select = [
"E", "F", "I", "UP", "S",
"TC005",
]
# TODO: remove E501 once docstrings are formatted
ignore = [
"D100", "D105", "D107", "D200", "D202", "D203", "D205", "D212", "D400", "D401", "D415",
"D101", "D102","D103", "D104", # TODO remove once we have docstring for all public methods
"E501", # TODO: remove E501 once docstrings are formatted
"S101", "S108", "S603", "S607",
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"**/test*/**.py" = ["D", "F403", "F405", "S106", "S311"]
[tool.pytest.ini_options]
# DO NOT display logs during test execution
log_cli = false
# Show native Python traceback (most concise), hide all captured output
addopts = "--tb=native -v --show-capture=no"
[tool.codespell]
skip = '*.min.js,*.lock,*/monitoring_certs/*'
ignore-words-list = 'acount,datas'