-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (42 loc) · 1006 Bytes
/
pyproject.toml
File metadata and controls
50 lines (42 loc) · 1006 Bytes
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
[project]
name = "returns-portal-challenge"
version = "0.1.0"
requires-python = ">=3.12"
dependencies = [
"django>=6.0,<7.0",
"django-pydantic-field>=0.5,<1.0",
"drf-spectacular>=0.28,<1.0",
"djangorestframework>=3.0,<4.0",
"pydantic>=2.0,<3.0",
"pyyaml>=6.0,<7.0",
]
[dependency-groups]
dev = [
"django-stubs>=5.0,<6.0",
"pre-commit>=4.0,<5.0",
"pytest>=9.0,<10.0",
"pytest-django>=4.0,<5.0",
"ruff>=0.15,<1.0",
"mypy>=1.0,<2.0",
]
[tool.uv]
default-groups = ["dev"]
[tool.pytest.ini_options]
testpaths = ["**/tests"]
pythonpath = ["."]
addopts = "-q"
DJANGO_SETTINGS_MODULE = "returns_portal.settings"
[tool.ruff]
target-version = "py312"
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "I", "N", "UP", "B", "SIM"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.12"
warn_unused_configs = true
strict = true
ignore_missing_imports = true
plugins = ["mypy_django_plugin.main", "pydantic.mypy"]
[tool.django-stubs]
django_settings_module = "returns_portal.settings"