Skip to content

Commit

Permalink
chore: bump Ruff to 0.8.0 (#2092)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood authored Nov 22, 2024
1 parent 109020e commit d3eeba7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion cibuildwheel/_compat/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from typing import NotRequired, Self, assert_never

__all__ = (
"assert_never",
"NotRequired",
"Self",
"assert_never",
)
1 change: 0 additions & 1 deletion cibuildwheel/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"PLATFORMS",
"PathOrStr",
"PlatformName",
"PLATFORMS",
"PopenBytes",
)

Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d3eeba7

Please sign in to comment.