diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9eed48faa..4c0e3e99c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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"] diff --git a/cibuildwheel/_compat/typing.py b/cibuildwheel/_compat/typing.py index 05bae73e0..eb11302ab 100644 --- a/cibuildwheel/_compat/typing.py +++ b/cibuildwheel/_compat/typing.py @@ -8,7 +8,7 @@ from typing import NotRequired, Self, assert_never __all__ = ( - "assert_never", "NotRequired", "Self", + "assert_never", ) diff --git a/cibuildwheel/typing.py b/cibuildwheel/typing.py index 61e1c96f9..367cfcdf1 100644 --- a/cibuildwheel/typing.py +++ b/cibuildwheel/typing.py @@ -9,7 +9,6 @@ "PLATFORMS", "PathOrStr", "PlatformName", - "PLATFORMS", "PopenBytes", ) diff --git a/pyproject.toml b/pyproject.toml index 13647b0cf..839278673 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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