|
1 | 1 | [project] |
2 | 2 | name = "commitizen" |
3 | | -version = "4.11.0" |
| 3 | +version = "4.11.1" |
4 | 4 | description = "Python commitizen client tool" |
5 | 5 | authors = [{ name = "Santiago Fraire", email = "santiwilly@gmail.com" }] |
6 | 6 | maintainers = [ |
@@ -86,7 +86,16 @@ semver = "commitizen.version_schemes:SemVer" |
86 | 86 | semver2 = "commitizen.version_schemes:SemVer2" |
87 | 87 |
|
88 | 88 | [dependency-groups] |
89 | | -dev = ["ipython>=8.0", "tox>4", "poethepoet>=0.34.0"] |
| 89 | +dev = [ |
| 90 | + { include-group = "test" }, |
| 91 | + { include-group = "linters" }, |
| 92 | + { include-group = "documentation" }, |
| 93 | + { include-group = "script" }, |
| 94 | + "ipython>=8.0", |
| 95 | + "tox>4", |
| 96 | + "tox-uv", |
| 97 | + "poethepoet>=0.34.0", |
| 98 | +] |
90 | 99 |
|
91 | 100 | test = [ |
92 | 101 | "pytest>=7.2", |
@@ -122,13 +131,12 @@ build-backend = "uv_build" |
122 | 131 |
|
123 | 132 |
|
124 | 133 | [tool.commitizen] |
125 | | -version = "4.11.0" |
126 | 134 | tag_format = "v$version" |
127 | 135 | version_files = [ |
128 | | - "pyproject.toml:version", |
129 | 136 | "commitizen/__version__.py", |
130 | 137 | ".pre-commit-config.yaml:rev:.+Commitizen", |
131 | 138 | ] |
| 139 | +version_provider = "uv" |
132 | 140 | version_scheme = "pep440" |
133 | 141 |
|
134 | 142 |
|
@@ -170,6 +178,10 @@ omit = [ |
170 | 178 | [tool.pytest.ini_options] |
171 | 179 | addopts = "--strict-markers" |
172 | 180 | testpaths = ["tests/"] |
| 181 | +filterwarnings = [ |
| 182 | + # get_smart_tag_range is deprecated and will be removed in v5 |
| 183 | + "ignore:Call to deprecated function \\(or staticmethod\\) get_smart_tag_range:DeprecationWarning", |
| 184 | +] |
173 | 185 |
|
174 | 186 | [tool.tox] |
175 | 187 | requires = ["tox>=4.22"] |
@@ -263,6 +275,12 @@ test.cmd = "pytest -n auto --dist=loadfile" |
263 | 275 | "test:all".help = "Run the test suite on all supported Python versions" |
264 | 276 | "test:all".cmd = "tox --parallel" |
265 | 277 |
|
| 278 | +"test:regen".help = "Regenerate the test fixtures" |
| 279 | +"test:regen".parallel = [ |
| 280 | + { ref = "test -k 'not py_' --regen-all" }, |
| 281 | + { ref = "test:all -- -k py_ --regen-all" }, |
| 282 | +] |
| 283 | + |
266 | 284 | cover.help = "Run the test suite with coverage" |
267 | 285 | cover.ref = "test --cov-report term-missing --cov-report=xml:coverage.xml --cov=commitizen --junitxml=junit.xml -o junit_family=legacy" |
268 | 286 |
|
|
0 commit comments