@@ -74,6 +74,7 @@ npm = "commitizen.providers:NpmProvider"
74
74
pep621 = " commitizen.providers:Pep621Provider"
75
75
poetry = " commitizen.providers:PoetryProvider"
76
76
scm = " commitizen.providers:ScmProvider"
77
+ uv = " commitizen.providers:UvProvider"
77
78
78
79
[project .entry-points ."commitizen .scheme" ]
79
80
pep440 = " commitizen.version_schemes:Pep440"
@@ -165,9 +166,7 @@ omit = [
165
166
166
167
[tool .pytest .ini_options ]
167
168
addopts = " --strict-markers"
168
- testpaths = [
169
- " tests/" ,
170
- ]
169
+ testpaths = [" tests/" ]
171
170
172
171
[tool .tox ]
173
172
requires = [" tox>=4.22" ]
@@ -178,7 +177,7 @@ description = "Run tests suite against Python {base_python}"
178
177
skip_install = true
179
178
deps = [" poetry>=2.0" ]
180
179
commands_pre = [[" poetry" , " install" , " --only" , " main,test" ]]
181
- commands = [[" pytest" , { replace = " posargs" , extend = true }]]
180
+ commands = [[" pytest" , { replace = " posargs" , extend = true }]]
182
181
183
182
[tool .ruff ]
184
183
line-length = 88
@@ -227,14 +226,14 @@ poetry_command = ""
227
226
[tool .poe .tasks ]
228
227
format.help = " Format the code"
229
228
format.sequence = [
230
- {cmd = " ruff check --fix commitizen tests" },
231
- {cmd = " ruff format commitizen tests" },
229
+ { cmd = " ruff check --fix commitizen tests" },
230
+ { cmd = " ruff format commitizen tests" },
232
231
]
233
232
234
233
lint.help = " Lint the code"
235
234
lint.sequence = [
236
- {cmd = " ruff check commitizen/ tests/ --fix" },
237
- {cmd = " mypy commitizen/ tests/" },
235
+ { cmd = " ruff check commitizen/ tests/ --fix" },
236
+ { cmd = " mypy commitizen/ tests/" },
238
237
]
239
238
240
239
check-commit.help = " Check the commit message"
@@ -250,12 +249,7 @@ cover.help = "Run the test suite with coverage"
250
249
cover.ref = " test --cov-report term-missing --cov-report=xml:coverage.xml --cov=commitizen"
251
250
252
251
all.help = " Run all tasks"
253
- all.sequence = [
254
- " format" ,
255
- " lint" ,
256
- " cover" ,
257
- " check-commit"
258
- ]
252
+ all.sequence = [" format" , " lint" , " cover" , " check-commit" ]
259
253
260
254
"doc:screenshots".help = " Render documentation screeenshots"
261
255
"doc:screenshots".script = " scripts.gen_cli_help_screenshots:gen_cli_help_screenshots"
@@ -267,11 +261,8 @@ doc.help = "Live documentation server"
267
261
doc.cmd = " mkdocs serve"
268
262
269
263
ci.help = " Run all tasks in CI"
270
- ci.sequence = [
271
- {cmd =" pre-commit run --all-files" },
272
- " cover" ,
273
- ]
274
- ci.env = {SKIP = " no-commit-to-branch" }
264
+ ci.sequence = [{ cmd = " pre-commit run --all-files" }, " cover" ]
265
+ ci.env = { SKIP = " no-commit-to-branch" }
275
266
276
267
setup-pre-commit.help = " Install pre-commit hooks"
277
268
setup-pre-commit.cmd = " pre-commit install"
0 commit comments