Skip to content

Commit d3eeba7

Browse files
authored
chore: bump Ruff to 0.8.0 (#2092)
1 parent 109020e commit d3eeba7

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
- id: trailing-whitespace
1515

1616
- repo: https://github.com/astral-sh/ruff-pre-commit
17-
rev: v0.7.4
17+
rev: v0.8.0
1818
hooks:
1919
- id: ruff
2020
args: ["--fix", "--show-fixes"]

cibuildwheel/_compat/typing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from typing import NotRequired, Self, assert_never
99

1010
__all__ = (
11-
"assert_never",
1211
"NotRequired",
1312
"Self",
13+
"assert_never",
1414
)

cibuildwheel/typing.py

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"PLATFORMS",
1010
"PathOrStr",
1111
"PlatformName",
12-
"PLATFORMS",
1312
"PopenBytes",
1413
)
1514

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@ ignore = [
207207
"PLR", # Design related pylint codes
208208
"E501", # Line too long
209209
"RET504", "RET505", "RET508", # else after control flow
210-
"PT004", # Rename suggested for returnless fixtures
211210
"PT007", # False positive
212211
"PYI025", # Set as AbstractSet
213212
"ISC001", # Conflicts with formatter

0 commit comments

Comments
 (0)