-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (71 loc) · 2.54 KB
/
Copy pathpyproject.toml
File metadata and controls
82 lines (71 loc) · 2.54 KB
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
[build-system]
requires = ["setuptools>=77", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "commit-check"
description = "Check commit message formatting, branch naming, commit author, email, and more."
readme = "README.rst"
keywords = ["commit conventions", "conventional commits", "conventional branch", "branch naming", "commit-check", "message", "lint message", "devops"]
license = "MIT"
authors = [
{ name = "Xianpeng Shen", email = "xianpeng.shen@gmail.com" },
]
requires-python = ">=3.10"
dependencies = [
"pyyaml",
"tomli>=1.1.0; python_version < '3.11'",
]
classifiers = [
# https://pypi.org/pypi?%3Aaction=list_classifiers
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Utilities" ,
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dynamic = ["version"]
[project.scripts]
commit-check = "commit_check.main:main"
cchk = "commit_check.main:main" # short alias without clobbering system cc
[project.urls]
source = "https://github.com/commit-check/commit-check"
tracker = "https://github.com/commit-check/commit-check/issues"
# ... other project metadata fields as specified in:
# https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
[project.optional-dependencies]
dev = ['nox']
test = ['coverage', 'pytest', 'pytest-mock', 'pytest-codspeed']
docs = ['sphinx<9', 'sphinx-immaterial', 'sphinx-autobuild', 'sphinx_issues']
[tool.setuptools]
zip-safe = false
packages = ["commit_check"]
[tool.setuptools.package-data]
commit_check = ["py.typed"]
[tool.setuptools_scm]
# It would be nice to include the commit hash in the version, but that
# can't be done in a PEP 440-compatible way.
version_scheme= "no-guess-dev"
# Test PyPI does not support local versions.
local_scheme = "no-local-version"
fallback_version = "0.0.0"
[tool.mypy]
python_version = "3.10"
show_error_codes = true
show_column_numbers = true
[tool.coverage]
omit = [
# don't include tests in coverage
"tests/*",
]
[tool.pytest.ini_options]
# Silence PytestUnknownMarkWarning for custom marks used in tests
markers = [
"benchmark: performance-related tests (no-op marker in this project)",
]