-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (84 loc) · 2.16 KB
/
pyproject.toml
File metadata and controls
90 lines (84 loc) · 2.16 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
[project]
name = "controlpanel"
version = "0.1.0"
requires-python = ">=3.12,<3.13"
dependencies = [
"asgiref==3.11.1",
"auth0-python==4.13.0",
"authlib==1.6.9",
"boto3==1.42.86",
"celery[sqs]==5.6.2",
"channels==4.3.2",
"channels-redis==4.3.0",
"cryptography==46.0.7",
"daphne==4.2.1",
"django==5.2.13",
"django-celery-beat==2.9.0",
"django-crequest==2018.5.11",
"django-extensions==4.1",
"django-filter==25.2",
"django-prometheus==2.4.1",
"django-redis==6.0.0",
"django-simple-history==3.11.0",
"django-structlog==10.0.0",
"djangorestframework==3.17.1",
"djproxy==2.3.6",
"elasticsearch-dsl==7.4.1",
"gunicorn==25.3.0",
"Jinja2==3.1.6",
"kubernetes==35.0.0",
"mozilla-django-oidc==5.0.2",
"notifications-python-client==10.0.1",
"pagerduty==6.2.1",
"psycopg2-binary==2.9.11",
"PyJWT==2.12.0",
"PyNaCl==1.6.2",
"python-dotenv==1.2.2",
"pyyaml==6.0.3",
"rules==3.5",
"sentry-sdk==2.57.0",
"slackclient==2.9.4",
"uvicorn[standard]==0.44.0",
]
[dependency-groups]
dev = [
"beautifulsoup4==4.14.3",
"django-debug-toolbar==4.4.6",
"ipdb==0.13.13",
"ipython==9.12.0",
"pandas==3.0.2",
"pre-commit==4.5.1",
"model-bakery==1.21.0",
"moto[all]==5.1.22",
"pytest==9.0.3",
"pytest-django==4.12.0",
"pytest-xdist==3.8.0",
]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "controlpanel.settings.test"
norecursedirs = ".circleci .git .github .mypy_cache controlpanel doc docker node_modules run static venv"
markers = [
"indevelopment: for tests currently being worked on",
]
[tool.ruff]
line-length = 100
target-version = "py312"
exclude = [
".git",
"env",
"venv",
"**/migrations/**",
]
[tool.ruff.lint]
select = ["E", "W", "F", "C", "B", "I"]
ignore = [
"E203", # whitespace before ':'
"E266", # block comment should start with '# '
"F403", # star imports
"F401", # imported but unused
]
per-file-ignores = { "controlpanel/api/migrations/*" = ["E501", "W292"], "controlpanel/api/cluster.py" = ["E501"] }
[tool.ruff.lint.mccabe]
max-complexity = 18
[tool.uv]
exclude-newer = "1 week"