-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
116 lines (108 loc) · 2.86 KB
/
Copy pathpyproject.toml
File metadata and controls
116 lines (108 loc) · 2.86 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
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
[build-system]
build-backend = "hatchling.build"
requires = [
"hatchling>=1.31",
"hatch-vcs>=0.5",
]
[project]
name = "commit-message-validator"
description = "Validate the format of a commit message to Wikimedia Gerrit standards"
readme = "README.rst"
keywords = [
"gerrit",
"git",
"lint",
"wikimedia",
]
license = "GPL-2.0-or-later"
maintainers = [
{ name = "Bryan Davis", email = "bd808@wikimedia.org" },
{ name = "Kunal Mehta", email = "Legoktm@debian.org" },
]
authors = [
{ name = "Bryan Davis", email = "bd808@wikimedia.org" },
{ name = "Kunal Mehta", email = "Legoktm@debian.org" },
]
requires-python = ">=3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Version Control :: Git",
]
dynamic = [
"version",
]
dependencies = [
"click==8.4.2",
"click-aliases==1.0.7",
"click-option-group==0.5.9",
]
[project.urls]
Documentation = "https://www.mediawiki.org/wiki/commit-message-validator"
Changelog = "https://gitlab.wikimedia.org/repos/ci-tools/commit-message-validator/-/blob/main/HISTORY.rst"
"Bug tracker" = "https://phabricator.wikimedia.org/tag/commit-message-validator/"
"Source code" = "https://gitlab.wikimedia.org/repos/ci-tools/commit-message-validator"
[project.scripts]
commit-message-validator = "commit_message_validator.cli:cli"
[tool.hatch]
build.dev-mode-dirs = ["src"]
build.targets.sdist.include = [
"/CONTRIBUTING.rst",
"/COPYING",
"/README.rst",
"/src",
"/tests",
"/tox.ini",
]
[tool.hatch.version]
source = "vcs"
[tool.black]
line_length = 88
target_version = ["py311", "py312", "py313", "py314"]
[tool.isort]
case_sensitive = false
filter_files = true
force_single_line = true
force_sort_within_sections = true
known_application = ["commit_message_validator"]
line_length = 88
profile = "appnexus"
py_version = 314
src_paths = ["src", "tests"]
[tool.flake8]
exclude = [
".git",
".tox",
"__pycache__",
"dist",
]
format = "pylint"
max_line_length = 120
flake8-import-order = "appnexus"
extend-ignore = [
"I100", # Import statements are in the wrong order.
"I201", # Missing newline between import groups.
]
rst-roles = [
"class",
"func",
"ref",
]
rst-directives = [
"envvar",
"exception",
]
rst-substitutions = [
"version",
]