/
pyproject.toml
159 lines (130 loc) · 2.87 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# ******************************************************************************
#
# pccc, the Python Conventional Commit Checker.
#
# Copyright 2020-2022 Jeremy A Gray <gray@flyquackswim.com>.
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# ******************************************************************************
[build-system]
# Setuptools.
requires = [
"setuptools",
"wheel",
]
build-backend = "setuptools.build_meta"
# Poetry.
# requires = ["poetry_core>=1.0.0"]
# build-backend = "poetry.core.masonry.api"
[tool]
[tool.black]
line-length = 88
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.git
| \.pytest_cache
| __pycache__
| htmlcov
)/
)
'''
[tool.isort]
ensure_newline_before_comments = true
force_single_line = true
include_trailing_comma = true
line_length = 88
multi_line_output = 3
use_parentheses = true
[tool.pccc]
header_length = 50
body_length = 72
wrap = true
force_wrap = true
spell_check = false
repair = false
ignore_generated_commits = true
generated_commits = [
'''^\(tag:\s+v\d+\.\d+\.\d\)\s+\d+\.\d+\.\d+$''',
'''^Merge branch 'master' of.*$''',
]
types = [
"build",
"ci",
"depends",
"docs",
"feat",
"fix",
"perf",
"refactor",
"release",
"style",
"test",
]
scopes = [
"config",
"docs",
"parser",
"tooling",
]
footers = [
"github-closes",
"signed-off-by",
]
required_footers = [
"signed-off-by",
]
[tool.poetry]
authors = ["Jeremy A Gray <gray@flyquackswim.com>"]
description = "pccc: the Python Conventional Commit Checker"
name = "pccc"
version = "0.4.14"
license = "GPL-3.0-or-later"
maintainers = ["Jeremy A Gray <gray@flyquackswim.com>"]
readme = "README.rst"
homepage = "https://github.com/jeremyagray/pccc"
repository = "https://github.com/jeremyagray/pccc"
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Intended Audience :: Developers",
"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",
"Topic :: Software Development :: Version Control :: Git",
]
packages = [
{ include = "pccc" },
]
[tool.poetry.dependencies]
bespon = "^0"
pyenchant = "^3"
pyparsing = "^3"
python = ">=3.8.1,<4.0"
"ruamel.yaml" = "^0"
toml = "^0"
tox = "^4"
[tool.poetry.dev-dependencies]
Sphinx = "^6"
black = { version = "*", allow-prereleases = true }
factory-boy = "^3.2"
flake8 = "^6"
flake8-docstrings = "^1"
isort = "^5"
hypothesis = "^6"
pre-commit = "^3"
pyfakefs = "^5"
pytest = "^7"
pytest-cov = "^4"
[tool.poetry.scripts]
pccc = "pccc:main"
[tool.poetry.urls]
"Issues" = "https://github.com/jeremyagray/pccc/issues"
"Documentation" = "https://pccc.readthedocs.io/"
"Repository" = "https://github.com/jeremyagray/pccc"
[tool.pytest.ini_options]