-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
118 lines (95 loc) · 2.3 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
112
113
114
115
116
117
118
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"build",
"setuptools >= 67.7.2",
"setuptools_scm >= 7.1",
"wheel >= 0.40.0"
]
[project]
authors = [
{name = "David Slusser", email = "[email protected]"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"django",
]
description = ""
dynamic = ["version"]
keywords = ["django"]
license = {file = "LICENSE"}
name = "djangoaddicts"
readme = "README.md"
requires-python = ">=3.8"
[project.optional-dependencies]
dev = [
"bandit",
"black",
"build",
"coveralls",
"django-environ",
"isort",
"model-bakery",
"mypy",
"mypy-extensions",
"ruff",
"pytest",
"pytest-cov",
"pytest-django",
"radon",
"safety",
"setuptools >= 67.7.2",
"setuptools_scm >= 7.1",
"types-python-dateutil",
"typing_extensions",
"wheel >= 0.40.0",
]
docs = [
"sphinx",
"sphinx-rtd-theme",
"myst-parser",
]
[tool.bandit]
exclude_dirs = ["venv", "tests"]
[tool.black]
line-length = 120
[tool.coverage.report]
show_missing = true
[tool.coverage.run]
branch = true
omit = ["*_test.py", "*/tests/*", "*__version__.py", "setup.py", "src/djangoaddicts/manage.py", "src/djangoaddicts/core/*"]
relative_files = true
source = ["src"]
[tool.isort]
profile = "black"
[tool.mypy]
exclude = ['venv/*']
ignore_missing_imports = true
# https://docs.pytest.org/en/6.2.x/customize.html#pyproject-toml
[tool.pytest.ini_options]
addopts = "-s -v -x --strict-markers -m 'not extra' --doctest-modules"
filterwarnings = [
"ignore::UserWarning",
]
testpaths = ["tests"]
[tool.ruff]
line-length = 120
[tool.setuptools_scm]
write_to = "src/__version__.py"