-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathpyproject.toml
111 lines (101 loc) · 2.02 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
108
109
110
111
[project]
name = "django-termsandconditions"
version = "2.0.12"
description = "Django app that enables users to accept terms and conditions of a site."
authors = [{ name = "Tim White", email = "tim@cyface.com" }]
requires-python = ">=3.8,<4.0"
readme = "README.md"
license = { text = "BSD License" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Internet :: WWW/HTTP",
]
dependencies = ["Django>2.2"]
[project.urls]
Homepage = "https://github.com/cyface/django-termsandconditions"
[tool.black]
line-length = 88
target-version = ['py38', 'py39', 'py310', 'py311']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| migrations
)/
'''
[dependency-groups]
dev = [
"black~=24.8",
"coverage[toml]~=7.6",
"ruff>=0.9.0,<0.10",
"uv>=0.5"
]
[tool.coverage.run]
branch = true
omit = [
"*/__init__.py",
"*/apps.py",
"*/devscripts*",
"*/docs/*",
"*/local_settings_template.py",
"*/manage.py",
"*/migrations/*",
"*/settings*",
"*/setup.py",
"*/tests*",
"*/wsgi.py"
]
[tool.hatch.build.targets.sdist]
include = ["termsandconditions"]
[tool.hatch.build.targets.wheel]
include = ["termsandconditions"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
extend-exclude = ["migrations"]
lint.ignore = [
"B904",
"DJ001",
"DJ008",
"DJ012",
"E501",
"E722",
"F403",
"F405",
"N806",
"N815",
]
lint.select = [
"B",
"B9",
"C",
"DJ",
"DTZ",
"E",
"F",
"N",
"UP",
"W",
]
line-length = 88
[tool.ruff.lint.isort]
forced-separate = ["django"]
[tool.ruff.lint.mccabe]
max-complexity = 25