-
-
Notifications
You must be signed in to change notification settings - Fork 483
/
pyproject.toml
109 lines (98 loc) · 2.84 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
[build-system]
build-backend = "hatchling.build"
requires = [
"hatch-fancy-pypi-readme",
"hatch-vcs",
"hatchling",
]
[project]
name = "django-simple-history"
description = "Store model history and view/revert changes from admin site."
maintainers = [
{ name = "Trey Hunner" },
]
authors = [
{ name = "Corey Bertram", email = "[email protected]" },
]
requires-python = ">=3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"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",
]
dynamic = [
"readme",
"version",
]
dependencies = [
"django>=4.2",
]
urls.Changelog = "https://github.com/jazzband/django-simple-history/blob/master/CHANGES.rst"
urls.Documentation = "https://django-simple-history.readthedocs.io/en/stable/"
urls.Homepage = "https://github.com/jazzband/django-simple-history"
urls.Source = "https://github.com/jazzband/django-simple-history"
urls.Tracker = "https://github.com/jazzband/django-simple-history/issues"
[tool.hatch.version]
source = "vcs"
fallback-version = "0.0.0"
[tool.hatch.version.raw-options]
version_scheme = "no-guess-dev"
local_scheme = "node-and-date"
[tool.hatch.build.targets.wheel]
# Jazzband's release process is limited to 2.2 metadata
# - see https://github.com/jazzband/help/issues/360
core-metadata-version = "2.2"
packages = [
"simple_history",
]
[tool.hatch.build.targets.sdist]
# Jazzband's release process is limited to 2.2 metadata
# - see https://github.com/jazzband/help/issues/360
core-metadata-version = "2.2"
[tool.hatch.metadata.hooks.fancy-pypi-readme]
content-type = "text/x-rst"
# (Preview the generated readme by installing `hatch` and running
# `hatch project metadata readme` - see
# https://github.com/hynek/hatch-fancy-pypi-readme/blob/24.1.0/README.md#cli-interface)
fragments = [
{ path = "README.rst", start-after = ".. Start of PyPI readme\n\n" },
{ text = "\n====\n\nChangelog\n=========\n\n" },
# Only include the first title after "Unreleased" - as well as the rest of the file
{ path = "CHANGES.rst", pattern = "\nUnreleased\n-{4,}\n(?:.*?)\n([^\n]+\n-{4,}\n.*)" },
]
[tool.black]
line-length = 88
target-version = [
"py39",
]
[tool.isort]
profile = "black"
py_version = "39"
[tool.coverage.run]
parallel = true
branch = true
source = [
"simple_history",
]
[tool.coverage.paths]
source = [
"simple_history",
".tox/*/site-packages",
]
[tool.coverage.report]
show_missing = true
skip_covered = true
omit = [
"requirements/*",
]