Skip to content

Commit d27a5bb

Browse files
Upgrade pre-commit tools and fix existing issue
1 parent c21276f commit d27a5bb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
2020
doc/data/messages/m/missing-final-newline/bad/crlf.py
2121
)$
2222
- repo: https://github.com/astral-sh/ruff-pre-commit
23-
rev: "v0.8.4"
23+
rev: "v0.8.5"
2424
hooks:
2525
- id: ruff
2626
args: ["--fix"]
@@ -125,7 +125,7 @@ repos:
125125
files: ^(doc/(.*/)*.*\.rst)
126126
additional_dependencies: [Sphinx==7.4.3]
127127
- repo: https://github.com/pre-commit/mirrors-mypy
128-
rev: v1.14.0
128+
rev: v1.14.1
129129
hooks:
130130
- id: mypy
131131
name: mypy

pylint/testutils/functional/lint_module_output_update.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ class TestDialect(csv.excel):
2222
delimiter = ":"
2323
lineterminator = "\n"
2424

25-
csv.register_dialect("test", TestDialect)
25+
# TestDialect inherit from csv.excel, which inherit from Dialect
26+
# probably something wrong in 'csv''s typing
27+
csv.register_dialect("test", TestDialect) # type: ignore[arg-type]
2628

2729
def _check_output_text(
2830
self,

0 commit comments

Comments
 (0)