-
-
Notifications
You must be signed in to change notification settings - Fork 137
/
pyproject.toml
81 lines (71 loc) · 2.12 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
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=61.2",
"setuptools_scm",
]
[project]
name = "django-formtools"
description = "A set of high-level abstractions for Django forms"
license = {text = "BSD"}
authors = [{name = "Django Software Foundation", email = "[email protected]"}]
requires-python = ">=3.8"
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",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"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",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP",
]
dynamic = [
"version",
]
dependencies = [
"Django>=3.2",
]
[project.readme]
file = "README.rst"
content-type = "text/x-rst"
[project.urls]
Homepage = "https://django-formtools.readthedocs.io/en/latest/"
Source = "https://github.com/jazzband/django-formtools"
[tool.setuptools]
include-package-data = true
license-files = ["LICENSE"]
zip-safe = false
[tool.setuptools.packages.find]
exclude = ["tests"] # tests.*
namespaces = false
[tool.setuptools_scm]
[tool.codespell]
skip = "*.po"
[tool.isort]
combine_as_imports = true
default_section = "THIRDPARTY"
include_trailing_comma = true
known_first_party = ["formtools"]
line_length = 79
multi_line_output = 5
[tool.ruff]
line-length = 119
select = ["ASYNC", "C4", "C90", "DJ", "DTZ", "E", "F", "N", "PERF", "PL", "SIM", "UP", "W"]
[tool.ruff.per-file-ignores]
"formtools/wizard/storage/base.py" = ["PLW2901"]
"formtools/wizard/views.py" = ["N805", "PLW2901"]
"tests/wizard/storage.py" = ["DTZ005"]
"tests/wizard/test_forms.py" = ["DJ007", "DJ008", "N803"]
"tests/wizard/wizardtests/tests.py" = ["DJ007"]