11[build-system ]
22requires = [
3- " setuptools" ,
4- " setuptools-scm" ,
5- " wheel" ,
3+ " hatchling>=1.3.1" ,
4+ " hatch-vcs" ,
5+ ]
6+ build-backend = " hatchling.build"
7+
8+ [project ]
9+ name = " pluggy"
10+ description = " plugin and hook calling mechanisms for python"
11+ readme = " README.rst"
12+ license = " MIT"
13+ requires-python = " >=3.7"
14+ authors = [
15+ {
name =
" Holger Krekel" ,
email =
" [email protected] " },
16+ ]
17+ classifiers = [
18+ " Development Status :: 6 - Mature" ,
19+ " Intended Audience :: Developers" ,
20+ " License :: OSI Approved :: MIT License" ,
21+ " Operating System :: MacOS :: MacOS X" ,
22+ " Operating System :: Microsoft :: Windows" ,
23+ " Operating System :: POSIX" ,
24+ " Programming Language :: Python :: 3" ,
25+ " Programming Language :: Python :: 3 :: Only" ,
26+ " Programming Language :: Python :: 3.7" ,
27+ " Programming Language :: Python :: 3.8" ,
28+ " Programming Language :: Python :: 3.9" ,
29+ " Programming Language :: Python :: Implementation :: CPython" ,
30+ " Programming Language :: Python :: Implementation :: PyPy" ,
31+ " Programming Language :: Python :: 3.10" ,
32+ " Topic :: Software Development :: Libraries" ,
33+ " Topic :: Software Development :: Testing" ,
34+ " Topic :: Utilities" ,
35+ ]
36+ dependencies = [
37+ " importlib-metadata>=0.12;python_version<\" 3.8\" " ,
38+ ]
39+ dynamic = [
40+ " version" ,
41+ ]
42+
43+ [project .optional-dependencies ]
44+ dev = [
45+ " pre-commit" ,
46+ " tox" ,
47+ ]
48+ testing = [
49+ " pytest" ,
50+ " pytest-benchmark" ,
51+ ]
52+
53+ [project .urls ]
54+ Homepage = " https://github.com/pytest-dev/pluggy"
55+
56+ [tool .hatch .version ]
57+ source = " vcs"
58+
59+ [tool .hatch .build .hooks .vcs ]
60+ version-file = " src/pluggy/_version.py"
61+
62+ [tool .hatch .build .targets .sdist ]
63+ include = [
64+ " /src" ,
665]
766
8- [tool .setuptools_scm ]
9- write_to = " src/pluggy/_version.py"
1067
1168[tool .towncrier ]
1269package = " pluggy"
@@ -15,42 +72,19 @@ filename = "CHANGELOG.rst"
1572directory = " changelog/"
1673title_format = " pluggy {version} ({project_date})"
1774template = " changelog/_template.rst"
18-
19- [[tool .towncrier .type ]]
20- directory = " removal"
21- name = " Deprecations and Removals"
22- showcontent = true
23-
24- [[tool .towncrier .type ]]
25- directory = " feature"
26- name = " Features"
27- showcontent = true
28-
29- [[tool .towncrier .type ]]
30- directory = " bugfix"
31- name = " Bug Fixes"
32- showcontent = true
33-
34- [[tool .towncrier .type ]]
35- directory = " vendor"
36- name = " Vendored Libraries"
37- showcontent = true
38-
39- [[tool .towncrier .type ]]
40- directory = " doc"
41- name = " Improved Documentation"
42- showcontent = true
43-
44- [[tool .towncrier .type ]]
45- directory = " trivial"
46- name = " Trivial/Internal Changes"
47- showcontent = true
75+ type = [
76+ { directory = " removal" , name = " Deprecations and Removals" , showcontent = true },
77+ { directory = " feature" , name = " Features" , showcontent = true },
78+ { directory = " bugfix" , name = " Bug Fixes" , showcontent = true },
79+ { directory = " vendor" , name = " Vendored Libraries" , showcontent = true },
80+ { directory = " doc" , name = " Improved Documentation" , showcontent = true },
81+ { directory = " trivial" , name = " Trivial/Internal Changes" , showcontent = true },
82+ ]
4883
4984[tool .mypy ]
85+ python_version = " 3.7"
5086mypy_path = " src"
5187check_untyped_defs = true
52- # Hopefully we can set this someday!
53- # disallow_any_expr = true
5488disallow_any_generics = true
5589disallow_any_unimported = true
5690disallow_subclassing_any = true
0 commit comments