Skip to content

Commit 98f2fc5

Browse files
[pre-commit.ci] pre-commit autoupdate (#1079)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.1 → v0.4.7](astral-sh/ruff-pre-commit@v0.4.1...v0.4.7) - [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.10.0](pre-commit/mirrors-mypy@v1.9.0...v1.10.0) * Ignore "Use format specifiers instead of percent format" ruff error No reason to force this in old code. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bruno Oliveira <[email protected]>
1 parent 6f3f574 commit 98f2fc5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: "v0.4.1"
3+
rev: "v0.4.7"
44
hooks:
55
- id: ruff
66
args: ["--fix"]
@@ -23,7 +23,7 @@ repos:
2323
language: python
2424
additional_dependencies: [pygments, restructuredtext_lint]
2525
- repo: https://github.com/pre-commit/mirrors-mypy
26-
rev: v1.9.0
26+
rev: v1.10.0
2727
hooks:
2828
- id: mypy
2929
files: ^(src/|testing/)

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ ignore = [
112112
"PLW0120", # remove the else and dedent its contents
113113
"PLW2901", # for loop variable overwritten by assignment target
114114
"PLR5501", # Use `elif` instead of `else` then `if`
115+
"UP031", # Use format specifiers instead of percent format
115116
]
116117

117118
[tool.ruff.lint.pycodestyle]

0 commit comments

Comments
 (0)