chore: bump Ruff to 0.8.0 (#2092)
This commit is contained in:
@@ -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"]
|
||||||
|
|||||||
@@ -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",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ __all__ = (
|
|||||||
"PLATFORMS",
|
"PLATFORMS",
|
||||||
"PathOrStr",
|
"PathOrStr",
|
||||||
"PlatformName",
|
"PlatformName",
|
||||||
"PLATFORMS",
|
|
||||||
"PopenBytes",
|
"PopenBytes",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user