1
1
[build-system ]
2
2
requires = [
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.6" ,
27
+ " Programming Language :: Python :: 3.7" ,
28
+ " Programming Language :: Python :: 3.8" ,
29
+ " Programming Language :: Python :: 3.9" ,
30
+ " Programming Language :: Python :: Implementation :: CPython" ,
31
+ " Programming Language :: Python :: Implementation :: PyPy" ,
32
+ " Programming Language :: Python :: 3.10" ,
33
+ " Topic :: Software Development :: Libraries" ,
34
+ " Topic :: Software Development :: Testing" ,
35
+ " Topic :: Utilities" ,
36
+ ]
37
+ dependencies = [
38
+ " importlib-metadata>=0.12;python_version<\" 3.8\" " ,
39
+ ]
40
+ dynamic = [
41
+ " version" ,
42
+ ]
43
+
44
+ [project .optional-dependencies ]
45
+ dev = [
46
+ " pre-commit" ,
47
+ " tox" ,
48
+ ]
49
+ testing = [
50
+ " pytest" ,
51
+ " pytest-benchmark" ,
52
+ ]
53
+
54
+ [project .urls ]
55
+ Homepage = " https://github.com/pytest-dev/pluggy"
56
+
57
+ [tool .hatch .version ]
58
+ source = " vcs"
59
+
60
+ [tool .hatch .build .hooks .vcs ]
61
+ version-file = " src/pluggy/_version.py"
62
+
63
+ [tool .hatch .build .targets .sdist ]
64
+ include = [
65
+ " /src" ,
6
66
]
7
67
8
- [tool .setuptools_scm ]
9
- write_to = " src/pluggy/_version.py"
10
68
11
69
[tool .towncrier ]
12
70
package = " pluggy"
@@ -15,42 +73,19 @@ filename = "CHANGELOG.rst"
15
73
directory = " changelog/"
16
74
title_format = " pluggy {version} ({project_date})"
17
75
template = " 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
76
+ type = [
77
+ { directory = " removal" , name = " Deprecations and Removals" , showcontent = true },
78
+ { directory = " feature" , name = " Features" , showcontent = true },
79
+ { directory = " bugfix" , name = " Bug Fixes" , showcontent = true },
80
+ { directory = " vendor" , name = " Vendored Libraries" , showcontent = true },
81
+ { directory = " doc" , name = " Improved Documentation" , showcontent = true },
82
+ { directory = " trivial" , name = " Trivial/Internal Changes" , showcontent = true },
83
+ ]
48
84
49
85
[tool .mypy ]
86
+ python_version = " 3.7"
50
87
mypy_path = " src"
51
88
check_untyped_defs = true
52
- # Hopefully we can set this someday!
53
- # disallow_any_expr = true
54
89
disallow_any_generics = true
55
90
disallow_any_unimported = true
56
91
disallow_subclassing_any = true
0 commit comments