Skip to content

Commit 24b8d80

Browse files
⬆️ Update dependency ruff to v0.8.1 (#514)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Joostlek <[email protected]>
1 parent de97a29 commit 24b8d80

File tree

4 files changed

+26
-30
lines changed

4 files changed

+26
-30
lines changed

poetry.lock

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pylint = "3.3.2"
4141
pytest = "8.3.3"
4242
pytest-asyncio = "0.24.0"
4343
pytest-cov = "6.0.0"
44-
ruff = "0.7.4"
44+
ruff = "0.8.1"
4545
safety = "3.2.11"
4646
yamllint = "1.35.1"
4747
syrupy = "4.8.0"
@@ -129,15 +129,12 @@ asyncio_mode = "auto"
129129

130130
[tool.ruff.lint]
131131
ignore = [
132-
"ANN101", # Self... explanatory
133-
"ANN102", # cls... just as useless
134132
"ANN401", # Opinioated warning on disallowing dynamically typed expressions
135133
"COM812", # Conflicts with formatter
136134
"D203", # Conflicts with other rules
137135
"D213", # Conflicts with other rules
138136
"D417", # False positives in some occasions
139137
"PLR2004", # Just annoying, not really useful
140-
"TCH001",
141138
"ISC001", # Conflicts with formatter
142139
]
143140
select = ["ALL"]

src/python_opensky/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
from .opensky import OpenSky
77

88
__all__ = [
9+
"AircraftCategory",
10+
"BoundingBox",
911
"OpenSky",
12+
"OpenSkyConnectionError",
13+
"OpenSkyError",
1014
"PositionSource",
11-
"AircraftCategory",
1215
"StateVector",
1316
"StatesResponse",
14-
"BoundingBox",
15-
"OpenSkyError",
16-
"OpenSkyConnectionError",
1717
]

tests/ruff.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,5 @@ lint.extend-select = [
88
lint.extend-ignore = [
99
"S101", # Use of assert detected. As these are tests...
1010
"S106", # Detection of passwords...
11-
"SLF001", # Tests will access private/protected members...
12-
"TCH002", # pytest doesn't like this one...
11+
"TC002", # pytest doesn't like this one...
1312
]

0 commit comments

Comments
 (0)