-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (56 loc) · 1.29 KB
/
Copy pathpyproject.toml
File metadata and controls
65 lines (56 loc) · 1.29 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
[tool.poetry]
package-mode = false
[tool.poetry.dependencies]
python = "^3.13"
gunicorn = "*"
psycopg = { extras = ["binary"], version = "*" }
django = "==5.2.2"
google-cloud-secret-manager = "*"
[tool.poetry.group.dev.dependencies]
vulture = "*"
isort = "*"
black = "*"
flake8 = "*"
flake8-bugbear = "*"
flake8-comprehensions = "*"
flake8-pytest-style = "*"
Flake8-pyproject = "*"
pep8-naming = "*"
mypy = "*"
pytest = "*"
pytest-django = "*"
django-stubs = "==5.2.0"
[tool.vulture]
min_confidence = 61
[tool.isort]
profile = "black"
line_length = 120
[tool.black]
line-length = 120
[tool.flake8]
max-line-length = 120
exclude = ["*/migrations/*"]
max-complexity = 10
[tool.mypy]
python_version = "3.13"
plugins = ["mypy_django_plugin.main"]
disallow_any_unimported = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_return_any = true
warn_unreachable = true
strict_equality = true
warn_unused_configs = true
[tool.django-stubs]
django_settings_module = "mokstats.settings"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "mokstats.settings"
addopts = "--reuse-db"
markers = ["unittest"]