-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
73 lines (65 loc) · 1.36 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
[project]
name = "drf-caching"
version = "1.6.0"
description = "Handle views caching 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 = [
"beautifulsoup4>=4.0.1,<5.0.0",
"django>=5.0.0,<6.0.0",
"django-redis>=5.0.0,<6.0.0",
"djangorestframework>=3.0.0,<4.0.0",
"lxml>=5.0.1,<6.0.0",
"pydantic>=2.8.0,<3.0.0",
]
[project.urls]
Homepage = "https://github.com/stefanofusai/drf-caching"
Repository = "https://github.com/stefanofusai/drf-caching"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
development = [
"pre-commit==4.0.1",
"ruff==0.8.6",
]
[tool.mypy]
python_version = "3.12"
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
"ANN401",
"ARG002",
"D100",
"D104",
]
[tool.ruff.lint.per-file-ignores]
"src/drf_caching/sentinels.py" = ["ALL"]
[tool.ruff.lint.isort]
split-on-trailing-comma = false
[tool.uv]
resolution = "lowest-direct"