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 - id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.4 rev: v0.8.0
hooks: hooks:
- id: ruff - id: ruff
args: ["--fix", "--show-fixes"] args: ["--fix", "--show-fixes"]
+1 -1
View File
@@ -8,7 +8,7 @@ else:
from typing import NotRequired, Self, assert_never from typing import NotRequired, Self, assert_never
__all__ = ( __all__ = (
"assert_never",
"NotRequired", "NotRequired",
"Self", "Self",
"assert_never",
) )
-1
View File
@@ -9,7 +9,6 @@ __all__ = (
"PLATFORMS", "PLATFORMS",
"PathOrStr", "PathOrStr",
"PlatformName", "PlatformName",
"PLATFORMS",
"PopenBytes", "PopenBytes",
) )
-1
View File
@@ -207,7 +207,6 @@ ignore = [
"PLR", # Design related pylint codes "PLR", # Design related pylint codes
"E501", # Line too long "E501", # Line too long
"RET504", "RET505", "RET508", # else after control flow "RET504", "RET505", "RET508", # else after control flow
"PT004", # Rename suggested for returnless fixtures
"PT007", # False positive "PT007", # False positive
"PYI025", # Set as AbstractSet "PYI025", # Set as AbstractSet
"ISC001", # Conflicts with formatter "ISC001", # Conflicts with formatter