-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
126 lines (107 loc) · 3.65 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "versioningit"
dynamic = ["version"]
description = "Versioning It with your Version In Git"
readme = "README.rst"
requires-python = ">=3.7"
license = "MIT"
license-files = { paths = ["LICENSE"] }
authors = [
{ name = "John Thorvald Wodder II", email = "[email protected]" }
]
keywords = [
"Git",
"Mercurial",
"VCS",
"packaging",
"version",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"License :: OSI Approved :: MIT License",
"Framework :: Hatch",
"Framework :: Setuptools Plugin",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Version Control",
"Topic :: Software Development :: Version Control :: Git",
"Topic :: Software Development :: Version Control :: Mercurial",
"Typing :: Typed",
]
dependencies = [
"importlib-metadata >= 3.6; python_version < '3.10'",
"packaging >= 17.1",
"tomli >= 1.2, < 3.0; python_version < '3.11'",
]
[project.scripts]
versioningit = "versioningit.__main__:main"
[project.entry-points."setuptools.finalize_distribution_options"]
versioningit = "versioningit.hook:setuptools_finalizer"
[project.entry-points."hatch"]
versioningit = "versioningit.hatch"
[project.entry-points."versioningit.vcs"]
git = "versioningit.git:describe_git"
git-archive = "versioningit.git:describe_git_archive"
hg = "versioningit.hg:describe_hg"
[project.entry-points."versioningit.tag2version"]
basic = "versioningit.basics:basic_tag2version"
[project.entry-points."versioningit.next_version"]
minor = "versioningit.next_version:next_minor_version"
minor-release = "versioningit.next_version:next_minor_release_version"
smallest = "versioningit.next_version:next_smallest_version"
smallest-release = "versioningit.next_version:next_smallest_release_version"
null = "versioningit.next_version:null_next_version"
[project.entry-points."versioningit.format"]
basic = "versioningit.basics:basic_format"
[project.entry-points."versioningit.template_fields"]
basic = "versioningit.basics:basic_template_fields"
[project.entry-points."versioningit.write"]
basic = "versioningit.basics:basic_write"
[project.entry-points."versioningit.onbuild"]
replace-version = "versioningit.onbuild:replace_version_onbuild"
[project.urls]
"Source Code" = "https://github.com/jwodder/versioningit"
"Bug Tracker" = "https://github.com/jwodder/versioningit/issues"
"Documentation" = "https://versioningit.readthedocs.io"
[tool.hatch.version]
path = "src/versioningit/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/docs",
"/src",
"/test",
"CHANGELOG.*",
"CONTRIBUTORS.*",
"tox.ini",
]
[tool.hatch.envs.default]
python = "3"
[tool.mypy]
allow_incomplete_defs = false
allow_untyped_defs = false
ignore_missing_imports = false
# <https://github.com/python/mypy/issues/7773>:
no_implicit_optional = true
implicit_reexport = false
local_partial_types = true
pretty = true
show_error_codes = true
show_traceback = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
exclude = "test/data/"