-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
65 lines (58 loc) · 1.24 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
[project]
name = "drf-multi-serializers"
version = "1.4.1"
description = "Handle multiple serializers for the same view in Django Rest Framework."
readme = "README.md"
authors = [
{ name = "Stefano Fusai", email = "[email protected]" }
]
maintainers = [
{ name = "Stefano Fusai", email = "[email protected]" }
]
requires-python = ">=3.12"
dependencies = [
"djangorestframework>=3.0.0,<4.0.0",
]
[project.urls]
Homepage = "https://github.com/stefanofusai/drf-multi-serializers"
Repository = "https://github.com/stefanofusai/drf-multi-serializers"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
development = [
"djangorestframework-stubs[compatible-mypy]==3.15.2",
"mypy==1.12.1",
"pre-commit==4.0.1",
"ruff==0.8.4",
]
[tool.mypy]
plugins = ["mypy_drf_plugin.main"]
strict = true
[tool.ruff.lint]
select = ["ALL"]
ignore = [
# Bad rules
"COM812",
"D203",
"D212",
"E501",
"FA102",
"FIX",
"ISC001",
"PLR2004",
"RUF012",
"S101",
"S311",
"TD001",
"TD002",
"TD003",
"TRY003",
# Project-specific rules
"D100",
"D104"
]
[tool.ruff.lint.isort]
split-on-trailing-comma = false
[tool.uv]
resolution = "lowest-direct"