Skip to content

Commit 8209e84

Browse files
🐛 Fix UP046 lint rule ignore for CI compatibility
- Add UP046 back to ignored rules in pyproject.toml - Update pre-commit ruff version to v0.8.4
1 parent 8dbbf5d commit 8209e84

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
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.8.3
3+
rev: v0.8.4
44
hooks:
55
- id: ruff
66
args: [--fix]

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ select = [
115115
ignore = [
116116
"D100", # Missing docstring in public module
117117
"D104", # Missing docstring in public package
118+
"UP046", # Generic class uses Generic subclass instead of type params (requires invasive changes)
118119
]
119120

120121
[tool.ruff.lint.pydocstyle]

0 commit comments

Comments
 (0)