1+ [build-system ]
2+ build-backend = " hatchling.build"
3+ requires = [
4+ " hatch-fancy-pypi-readme" ,
5+ " hatch-vcs" ,
6+ " hatchling" ,
7+ ]
8+
9+ [project ]
10+ name = " django-simple-history"
11+ description = " Store model history and view/revert changes from admin site."
12+ maintainers = [
13+ { name = " Trey Hunner" },
14+ ]
15+ authors = [
16+ { name = " Corey Bertram" , email = " corey@qr7.com" },
17+ ]
18+ requires-python = " >=3.8"
19+ classifiers = [
20+ " Development Status :: 5 - Production/Stable" ,
21+ " Environment :: Web Environment" ,
22+ " Framework :: Django" ,
23+ " Framework :: Django :: 4.2" ,
24+ " Framework :: Django :: 5.0" ,
25+ " Intended Audience :: Developers" ,
26+ " License :: OSI Approved :: BSD License" ,
27+ " Programming Language :: Python" ,
28+ " Programming Language :: Python :: 3 :: Only" ,
29+ " Programming Language :: Python :: 3.8" ,
30+ " Programming Language :: Python :: 3.9" ,
31+ " Programming Language :: Python :: 3.10" ,
32+ " Programming Language :: Python :: 3.11" ,
33+ " Programming Language :: Python :: 3.12" ,
34+ # DEV: uncomment this when the `pyproject-fmt` pre-commit hook stops removing it
35+ # "Programming Language :: Python :: 3.13",
36+ ]
37+ dynamic = [
38+ " readme" ,
39+ " version" ,
40+ ]
41+ dependencies = [
42+ ]
43+ urls.Changelog = " https://github.com/jazzband/django-simple-history/blob/master/CHANGES.rst"
44+ urls.Documentation = " https://django-simple-history.readthedocs.io/en/stable/"
45+ urls.Homepage = " https://github.com/jazzband/django-simple-history"
46+ urls.Source = " https://github.com/jazzband/django-simple-history"
47+ urls.Tracker = " https://github.com/jazzband/django-simple-history/issues"
48+
49+ [tool .hatch .version ]
50+ source = " vcs"
51+ fallback-version = " 0.0.0"
52+
53+ [tool .hatch .version .raw-options ]
54+ version_scheme = " no-guess-dev"
55+ local_scheme = " node-and-date"
56+
57+ [tool .hatch .build .targets .wheel ]
58+ # Jazzband's release process is limited to 2.2 metadata
59+ # - see https://github.com/jazzband/help/issues/360
60+ core-metadata-version = " 2.2"
61+ packages = [
62+ " simple_history" ,
63+ ]
64+
65+ [tool .hatch .build .targets .sdist ]
66+ # Jazzband's release process is limited to 2.2 metadata
67+ # - see https://github.com/jazzband/help/issues/360
68+ core-metadata-version = " 2.2"
69+
70+ [tool .hatch .metadata .hooks .fancy-pypi-readme ]
71+ content-type = " text/x-rst"
72+ fragments = [
73+ { path = " README.rst" , start-after = " .. Start of PyPI readme\n\n " },
74+ { text = " \n ====\n\n Changelog\n =========\n\n " },
75+ { path = " CHANGES.rst" , start-after = " .. Start of PyPI readme\n\n " },
76+ ]
77+
178[tool .black ]
279line-length = 88
3- target-version = [" py38" ]
80+ target-version = [
81+ " py38" ,
82+ ]
483
584[tool .isort ]
685profile = " black"
@@ -9,12 +88,19 @@ py_version = "38"
988[tool .coverage .run ]
1089parallel = true
1190branch = true
12- source = [" simple_history" ]
91+ source = [
92+ " simple_history" ,
93+ ]
1394
1495[tool .coverage .paths ]
15- source = [" simple_history" , " .tox/*/site-packages" ]
96+ source = [
97+ " simple_history" ,
98+ " .tox/*/site-packages" ,
99+ ]
16100
17101[tool .coverage .report ]
18102show_missing = true
19103skip_covered = true
20- omit = [" requirements/*" ]
104+ omit = [
105+ " requirements/*" ,
106+ ]
0 commit comments