forked from ericflo/django-pagination
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
136 lines (117 loc) · 3.5 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "django-pagination-py3"
dynamic = ["version"]
description = "A port of ericflo/django-pagination to Python 3 and beyond!"
readme = "README.md"
license = "BSD-2-clause"
authors = [
{ name = "Agustin Mendez", email = "[email protected]" },
]
keywords = [
"django",
"pagination",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"Django>=4.0",
]
[project.optional-dependencies]
docs = [
"mkdocs",
"mkdocs-material",
"pygments",
"pymdown-extensions",
]
dev = [
"ipython",
"ipdb",
"mypy",
"typing-extensions",
"coverage[toml]",
]
[project.urls]
Homepage = "https://matagus.github.io/django-pagination-py3"
Documentation = "https://matagus.github.io/django-pagination-py3"
Issues = "https://github.com/matagus/django-pagination-py3/issues"
Changelog = "https://github.com/matagus/django-pagination-py3/releases"
Repository = "https://github.com/matagus/django-pagination-py3"
PyPI = "https://pypi.org/project/django-pagination-py3"
[tool.hatch.version]
path = "pagination/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/pagination",
]
[tool.hatch.build.targets.wheel]
include = [
"/pagination",
]
[tool.hatch.envs.default]
dependencies = [
"Django>=4.0", "ipython", "ipdb", "mypy", "typing-extensions"
]
# Test environment
[[tool.hatch.envs.test.matrix]]
django = ["4.0"]
python = ["3.9", "3.10"]
[[tool.hatch.envs.test.matrix]]
django = ["4.1"]
python = ["3.9", "3.10", "3.11"]
[[tool.hatch.envs.test.matrix]]
django = ["4.2"]
python = ["3.8","3.9", "3.10", "3.11", "3.12", "3.13"]
[[tool.hatch.envs.test.matrix]]
django = ["5.0"]
python = ["3.10", "3.11", "3.12", "3.13"]
[[tool.hatch.envs.test.matrix]]
django = ["5.1"]
python = ["3.10", "3.11", "3.12", "3.13"]
[tool.hatch.envs.test]
dependencies = ["coverage[toml]", "django~={matrix:django}.0"]
[tool.hatch.envs.test.scripts]
test = "python -m django test --settings tests.settings"
test-cov = "coverage run -m django test --settings tests.settings"
cov-report = ["coverage json", "coverage report"]
cov = ["test-cov", "cov-report"]
[tool.hatch.envs.docs]
dependencies = ["mkdocs", "mkdocs-material", "pygments", "pymdown-extensions"]
[tool.hatch.envs.docs.scripts]
new = "mkdocs new ."
build = "mkdocs build {args}"
serve = "mkdocs serve {args}"
[tool.ruff]
line-length = 120
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
line_length = 120
known_django = ["django"]
known_first_party = ["pagination"]
known_localfolder = ["music_app"]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "DJANGO", "FIRSTPARTY", "LOCALFOLDER"]