forked from hzdg/django-enumfields
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
71 lines (61 loc) · 1.64 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "django-enumfields2"
dynamic = ["version"]
description = "Real Python Enums for Django."
readme = "README.rst"
license = "MIT"
authors = [
{ name = "HZDG", email = "[email protected]" },
]
maintainers = [
{ name = "Aarni Koskela", email = "[email protected]" },
]
classifiers = [
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Internet :: WWW/HTTP",
]
requires-python = ">=3.7"
dependencies = [
"django>=3.2",
]
[project.urls]
Homepage = "https://github.com/akx/django-enumfields2"
Issues = "https://github.com/akx/django-enumfields2/issues"
[tool.hatch.version]
path = "enumfields/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/enumfields",
]
[tool.hatch.build.targets.wheel]
packages = ["enumfields"]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
extend-select = [
"C9",
"E",
"F",
"I",
"W",
]
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"
norecursedirs = [".git", ".tox", ".eggs", ".cache", "htmlcov", "venv*"]
doctest_optionflags = ["NORMALIZE_WHITESPACE", "IGNORE_EXCEPTION_DETAIL", "ALLOW_UNICODE"]