Skip to content

Commit 6da2627

Browse files
committed
ci: Fix refurb pre-commit hook
1 parent db6418b commit 6da2627

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,10 @@ repos:
217217
- id: refurb
218218
name: "🐍 performance · Suggest modernizations"
219219
args: ["--enable-all", "--ignore", "FURB147"]
220+
# Constrain mypy to <1.15.0 because of an error:
221+
# 'Options' object has no attribute 'allow_redefinition' and no __dict__ for setting new attributes
222+
additional_dependencies:
223+
- mypy<1.15.0
220224

221225
# Python documentation
222226
- repo: https://github.com/pycqa/pydocstyle

0 commit comments

Comments
 (0)