1
1
[tool .commitizen ]
2
- version = " 3.31 .0"
2
+ version = " 4.0 .0"
3
3
tag_format = " v$version"
4
4
version_files = [
5
- " pyproject.toml:version" ,
6
- " commitizen/__version__.py" ,
7
- " .pre-commit-config.yaml:rev:.+Commitizen" ,
5
+ " pyproject.toml:version" ,
6
+ " commitizen/__version__.py" ,
7
+ " .pre-commit-config.yaml:rev:.+Commitizen" ,
8
8
]
9
9
10
10
[tool .poetry ]
11
11
name = " commitizen"
12
- version = " 3.31 .0"
12
+ version = " 4.0 .0"
13
13
description = " Python commitizen client tool"
14
14
authors = [
" Santiago Fraire <[email protected] >" ]
15
15
license = " MIT"
@@ -25,20 +25,17 @@ classifiers = [
25
25
" Operating System :: OS Independent" ,
26
26
" Programming Language :: Python" ,
27
27
" Programming Language :: Python :: 3" ,
28
- " Programming Language :: Python :: 3.8" ,
29
28
" Programming Language :: Python :: 3.9" ,
30
29
" Programming Language :: Python :: 3.10" ,
31
30
" Programming Language :: Python :: 3.11" ,
32
31
" Programming Language :: Python :: 3.12" ,
32
+ " Programming Language :: Python :: 3.13" ,
33
33
" Programming Language :: Python :: Implementation :: CPython" ,
34
34
]
35
- packages = [
36
- {include = " commitizen" },
37
- {include = " commitizen/py.typed" },
38
- ]
35
+ packages = [{ include = " commitizen" }, { include = " commitizen/py.typed" }]
39
36
40
37
[tool .poetry .dependencies ]
41
- python = " >=3.8 "
38
+ python = " >=3.9 "
42
39
questionary = " ^2.0"
43
40
decli = " ^0.6.0"
44
41
colorama = " ^0.4.1"
@@ -48,24 +45,24 @@ tomlkit = ">=0.5.3,<1.0.0"
48
45
jinja2 = " >=2.10.3"
49
46
pyyaml = " >=3.08"
50
47
argcomplete = " >=1.12.1,<3.6"
51
- typing-extensions = { version = " ^4.0.1" , python = " <3.8 " }
48
+ typing-extensions = { version = " ^4.0.1" , python = " <3.11 " }
52
49
charset-normalizer = " >=2.1.0,<4"
53
50
# Use the Python 3.11 and 3.12 compatible API: https://github.com/python/importlib_metadata#compatibility
54
- importlib_metadata = { version = " >=8.0.0,<9" , python = " <3.10" }
51
+ importlib_metadata = { version = " >=8.0.0,<9" , python = " <3.10" }
55
52
56
53
[tool .poetry .group .dev .dependencies ]
57
54
# dev tool
58
55
ipython = " ^8.0"
59
56
# test
60
57
pytest = " >=7.2,<9.0"
61
- pytest-cov = " >=4,<6 "
58
+ pytest-cov = " >=4,<7 "
62
59
pytest-mock = " ^3.10"
63
60
pytest-regressions = " ^2.4.0"
64
61
pytest-freezer = " ^0.4.6"
65
62
pytest-xdist = " ^3.1.0"
66
63
# linter
67
- ruff = " >=0.5.0,<0.8 .0"
68
- pre-commit = " >=2.18,<4 .0"
64
+ ruff = " >=0.5.0,<0.9 .0"
65
+ pre-commit = " >=2.18,<5 .0"
69
66
mypy = " ^1.4"
70
67
types-PyYAML = " >=5.4.3,<7.0.0"
71
68
types-termcolor = " ^0.1.1"
@@ -108,33 +105,33 @@ semver = "commitizen.version_schemes:SemVer"
108
105
semver2 = " commitizen.version_schemes:SemVer2"
109
106
110
107
[tool .coverage ]
111
- [tool .coverage .report ]
112
- show_missing = true
113
- exclude_lines = [
114
- # Have to re-enable the standard pragma
115
- ' pragma: no cover' ,
116
-
117
- # Don't complain about missing debug-only code:
118
- ' def __repr__' ,
119
- ' if self\.debug' ,
120
-
121
- # Don't complain if tests don't hit defensive assertion code:
122
- ' raise AssertionError' ,
123
- ' raise NotImplementedError' ,
124
-
125
- # Don't complain if non-runnable code isn't run:
126
- ' if 0:' ,
127
- ' if __name__ == .__main__.:' ,
128
- ' if TYPE_CHECKING:' ,
129
- ]
130
- omit = [
131
- ' env/*' ,
132
- ' venv/*' ,
133
- ' .venv/*' ,
134
- ' */virtualenv/*' ,
135
- ' */virtualenvs/*' ,
136
- ' */tests/*' ,
137
- ]
108
+ [tool .coverage .report ]
109
+ show_missing = true
110
+ exclude_lines = [
111
+ # Have to re-enable the standard pragma
112
+ ' pragma: no cover' ,
113
+
114
+ # Don't complain about missing debug-only code:
115
+ ' def __repr__' ,
116
+ ' if self\.debug' ,
117
+
118
+ # Don't complain if tests don't hit defensive assertion code:
119
+ ' raise AssertionError' ,
120
+ ' raise NotImplementedError' ,
121
+
122
+ # Don't complain if non-runnable code isn't run:
123
+ ' if 0:' ,
124
+ ' if __name__ == .__main__.:' ,
125
+ ' if TYPE_CHECKING:' ,
126
+ ]
127
+ omit = [
128
+ ' env/*' ,
129
+ ' venv/*' ,
130
+ ' .venv/*' ,
131
+ ' */virtualenv/*' ,
132
+ ' */virtualenvs/*' ,
133
+ ' */tests/*' ,
134
+ ]
138
135
139
136
[build-system ]
140
137
requires = [" poetry_core>=1.0.0" ]
@@ -157,11 +154,7 @@ select = [
157
154
# isort
158
155
" I" ,
159
156
]
160
- ignore = [
161
- " E501" ,
162
- " D1" ,
163
- " D415"
164
- ]
157
+ ignore = [" E501" , " D1" , " D415" ]
165
158
166
159
[tool .ruff .lint .isort ]
167
160
known-first-party = [" commitizen" , " tests" ]
@@ -179,7 +172,7 @@ warn_unused_ignores = true
179
172
warn_unused_configs = true
180
173
181
174
[[tool .mypy .overrides ]]
182
- module = " py.*" # Legacy pytest dependencies
175
+ module = " py.*" # Legacy pytest dependencies
183
176
ignore_missing_imports = true
184
177
185
178
[tool .codespell ]
0 commit comments