chore: bump Ruff to 0.8.0 (#2092)

This commit is contained in:
Alex Waygood
2024-11-22 16:18:12 -05:00
committed by GitHub
parent 109020ed2d
commit d3eeba7967
4 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ repos:
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.4
rev: v0.8.0
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
+1 -1
View File
@@ -8,7 +8,7 @@ else:
from typing import NotRequired, Self, assert_never
__all__ = (
"assert_never",
"NotRequired",
"Self",
"assert_never",
)
-1
View File
@@ -9,7 +9,6 @@ __all__ = (
"PLATFORMS",
"PathOrStr",
"PlatformName",
"PLATFORMS",
"PopenBytes",
)
-1
View File
@@ -207,7 +207,6 @@ ignore = [
"PLR", # Design related pylint codes
"E501", # Line too long
"RET504", "RET505", "RET508", # else after control flow
"PT004", # Rename suggested for returnless fixtures
"PT007", # False positive
"PYI025", # Set as AbstractSet
"ISC001", # Conflicts with formatter