Skip to content

Commit 45fe774

Browse files
committed
build(poetry): upgrade mypy version to ^1.15.0
1 parent 66b4480 commit 45fe774

File tree

2 files changed

+54
-68
lines changed

2 files changed

+54
-68
lines changed

poetry.lock

Lines changed: 51 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ deprecated = "^1.2.13"
120120
[tool.poetry.group.linters.dependencies]
121121
ruff = ">=0.5.0,<0.10.0"
122122
pre-commit = ">=2.18,<5.0"
123-
mypy = "^1.4"
123+
mypy = "^1.15.0"
124124
types-deprecated = "^1.2.9.2"
125125
types-python-dateutil = "^2.8.19.13"
126126
types-PyYAML = ">=5.4.3,<7.0.0"
@@ -250,12 +250,7 @@ cover.help = "Run the test suite with coverage"
250250
cover.ref = "test --cov-report term-missing --cov-report=xml:coverage.xml --cov=commitizen"
251251

252252
all.help = "Run all tasks"
253-
all.sequence = [
254-
"format",
255-
"lint",
256-
"cover",
257-
"check-commit",
258-
]
253+
all.sequence = ["format", "lint", "cover", "check-commit"]
259254

260255
"doc:screenshots".help = "Render documentation screeenshots"
261256
"doc:screenshots".script = "scripts.gen_cli_help_screenshots:gen_cli_help_screenshots"
@@ -267,10 +262,7 @@ doc.help = "Live documentation server"
267262
doc.cmd = "mkdocs serve"
268263

269264
ci.help = "Run all tasks in CI"
270-
ci.sequence = [
271-
{ cmd = "pre-commit run --all-files" },
272-
"cover",
273-
]
265+
ci.sequence = [{ cmd = "pre-commit run --all-files" }, "cover"]
274266
ci.env = { SKIP = "no-commit-to-branch" }
275267

276268
setup-pre-commit.help = "Install pre-commit hooks"

0 commit comments

Comments
 (0)