-
Notifications
You must be signed in to change notification settings - Fork 54
/
pyproject.toml
93 lines (86 loc) · 1.88 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
[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
)/
'''
[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.poetry]
authors = ["Tim White <tim@cyface.com>"]
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"]
description = "Django app that enables users to accept terms and conditions of a site."
homepage = "https://github.com/cyface/django-termsandconditions"
license = "BSD"
name = "django-termsandconditions"
packages = [{ include = "termsandconditions" }, ]
readme = "README.md"
version = "2.0.12"
[tool.poetry.dependencies]
python = ">=3.8,<4.0"
Django = ">2.2"
[tool.poetry.dev-dependencies]
black = "^24.8"
coverage = {extras = ["toml"], version = "^7.6"}
poetry = "^1.8.4"
ruff = "^0.7.2"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
extend-exclude = ["migrations"]
lint.ignore = [
"B904",
"DJ001",
"DJ008",
"DJ012",
"E501",
"E722",
"F403",
"F405",
"N806",
"N815",
]
line-length = 88
lint.select = [
"B",
"B9",
"C",
"DJ",
"DTZ",
"E",
"F",
"N",
"UP",
"W",
]
[tool.ruff.lint.isort]
forced-separate = ["django"]
[tool.ruff.lint.mccabe]
max-complexity = 25