-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
108 lines (99 loc) · 2.57 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
[build-system]
requires = ["setuptools>=61.0.0"]
build-backend = "setuptools.build_meta"
[project]
name = "django-admin-index"
version = "4.0.0"
description = "Admin index for Django"
authors = [
{name = "Maykin Media", email = "[email protected]"}
]
readme = "README.rst"
license = {file = "LICENSE"}
keywords = ["Django", "index", "dashboard"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Intended Audience :: Developers",
"Operating System :: Unix",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.10"
dependencies = [
"django>=4.2",
"django-ordered-model>=3.5",
]
[project.urls]
Homepage = "https://github.com/maykinmedia/django-admin-index"
"Bug Tracker" = "https://github.com/maykinmedia/django-admin-index/issues"
"Source Code" = "https://github.com/maykinmedia/django-admin-index"
Changelog = "https://github.com/maykinmedia/django-admin-index/blob/main/CHANGELOG.rst"
[project.optional-dependencies]
tests = [
"pytest",
"pytest-django",
"tox",
"isort",
"black",
"flake8",
]
coverage = [
"pytest-cov",
]
docs = [
"sphinx",
"sphinx-rtd-theme",
]
release = [
"bump-my-version",
]
[tool.setuptools.packages.find]
include = ["django_admin_index*"]
namespaces = false
[tool.isort]
profile = "black"
combine_as_imports = true
known_django = "django"
known_first_party="django_admin_index"
sections=["FUTURE", "STDLIB", "DJANGO", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
skip = ["env", ".tox", ".history"]
[tool.pytest.ini_options]
testpaths = ["tests/unit"]
python_classes = ["test_*"]
DJANGO_SETTINGS_MODULE = "tests.proj.settings"
[tool.bumpversion]
current_version = "4.0.0"
files = [
{filename = "pyproject.toml"},
{filename = "README.rst"},
{filename = "django_admin_index/locale/nl/LC_MESSAGES/django.po"},
{filename = "package.json"},
{filename = "package-lock.json"},
]
[tool.coverage.run]
branch = true
source = [
"django_admin_index"
]
omit = [
"django_admin_index/migrations/*",
]
[tool.coverage.report]
exclude_also = [
"if (typing\\.)?TYPE_CHECKING:",
"@(typing\\.)?overload",
"class .*\\(.*Protocol.*\\):",
"@(abc\\.)?abstractmethod",
"raise NotImplementedError",
"\\.\\.\\.",
"pass",
]
omit = [
"django_admin_index/migrations/*",
]