-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
107 lines (94 loc) · 2.77 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
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
103
104
105
106
107
[tool.poetry]
authors = ["rafsaf <[email protected]>"]
description = "Tribal Wars Planer django app, professional tool for creating outlines for off-game coordinators."
name = "tribal_wars_planer"
version = "5.9.2"
[tool.poetry.dependencies]
python = ">=3.13,<3.14"
crispy-bootstrap4 = "^2024.1"
django = "^5.1.6"
django-crispy-forms = "^2.3"
django-registration = "^5.1.0"
django-ses = "^4.3.2"
djangorestframework = "^3.15.2"
beautifulsoup4 = "^4.13.3"
botocore = "^1.36.22"
cython = "^3.0.12"
diskcache = "^5.6.3"
django-otp-yubikey = "^1.1.0"
django-timezone-field = "^7.1"
django-two-factor-auth = { extras = ["phonenumberslite"], version = "^1.17.0" }
drf-spectacular = "^0.28.0"
fpdf = "^1.7.2"
numpy = "^2.2.3"
prometheus-client = "^0.21.0"
psutil = "^7.0.0"
psycopg = { extras = ["c"], version = "^3.2.4" }
python-dateutil = "^2.9.0"
python-dotenv = "^1.0.1"
schedule = "^1.2.1"
scipy = "^1.15.2"
sentry-sdk = { extras = ["django"], version = "^2.22.0" }
setuptools = "^75.8.0"
stripe = "^11.5.0"
uwsgi = "^2.0.27"
[tool.poetry.group.dev.dependencies]
coverage = "^7.6.12"
django-debug-toolbar = "^5.0.1"
django-stubs = "^5.1.3"
django-stubs-ext = "^5.0.2"
djangorestframework-stubs = "^3.15.1"
djhtml = "^3.0.6"
freezegun = "^1.2.2"
mypy = "^1.15.0"
parameterized = "^0.9.0"
pre-commit = "^4.1.0"
pytest-cov = "^6.0.0"
pytest-django = "^4.10.0"
pytest-xdist = "^3.1.0"
requests-mock = "^1.12.1"
ruff = "^0.9.6"
types-markdown = "^3.7.0.20240822"
types-python-dateutil = "^2.9.0.20240906"
types-pytz = "^2025.1.0.20250204"
types-requests = "^2.32.0.20240914"
[tool.poetry.group.docs.dependencies]
mkdocs = { extras = ["i18n"], version = "^1.6.1" }
mkdocs-glightbox = "^0.4.0"
mkdocs-material = { extras = ["imaging"], version = "^9.6.4" }
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tribal_wars_planer.settings"
addopts = "-v --cov --no-migrations --cov-report xml --cov-report term-missing -n auto"
minversion = "6.0"
testpaths = ["base", "rest_api", "tribal_wars_planer", "utils"]
[tool.coverage.run]
omit = [
"*/migrations/*",
"*/tests/*",
"*__init__.py*",
"tribal_wars_planer/asgi.py",
"tribal_wars_planer/wsgi.py",
]
source = ["base", "rest_api", "tribal_wars_planer", "utils"]
[tool.ruff]
target-version = "py312"
[tool.ruff.lint]
# pycodestyle, pyflakes, isort, pylint, pyupgrade
ignore = ["E501", "PLR0915", "PLR2004"]
select = ["E", "F", "I", "PL", "UP", "W"]
[tool.ruff.lint.pylint]
max-args = 12
max-branches = 20
[tool.mypy]
ignore_missing_imports = true
python_version = "3.13"
warn_return_any = false
warn_unused_configs = true
# strict = true
check_untyped_defs = true
plugins = ["mypy_django_plugin.main"]
[tool.django-stubs]
django_settings_module = "tribal_wars_planer.settings"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]