Skip to content

Commit dd9f768

Browse files
committed
Fix
1 parent 1d98723 commit dd9f768

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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)