Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Update dependency ruff to v0.8.1 #514

Merged
merged 2 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pylint = "3.3.2"
pytest = "8.3.3"
pytest-asyncio = "0.24.0"
pytest-cov = "6.0.0"
ruff = "0.7.4"
ruff = "0.8.1"
safety = "3.2.11"
yamllint = "1.35.1"
syrupy = "4.8.0"
Expand Down Expand Up @@ -129,15 +129,12 @@ asyncio_mode = "auto"

[tool.ruff.lint]
ignore = [
"ANN101", # Self... explanatory
"ANN102", # cls... just as useless
"ANN401", # Opinioated warning on disallowing dynamically typed expressions
"COM812", # Conflicts with formatter
"D203", # Conflicts with other rules
"D213", # Conflicts with other rules
"D417", # False positives in some occasions
"PLR2004", # Just annoying, not really useful
"TCH001",
"ISC001", # Conflicts with formatter
]
select = ["ALL"]
Expand Down
8 changes: 4 additions & 4 deletions src/python_opensky/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
from .opensky import OpenSky

__all__ = [
"AircraftCategory",
"BoundingBox",
"OpenSky",
"OpenSkyConnectionError",
"OpenSkyError",
"PositionSource",
"AircraftCategory",
"StateVector",
"StatesResponse",
"BoundingBox",
"OpenSkyError",
"OpenSkyConnectionError",
]
3 changes: 1 addition & 2 deletions tests/ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ lint.extend-select = [
lint.extend-ignore = [
"S101", # Use of assert detected. As these are tests...
"S106", # Detection of passwords...
"SLF001", # Tests will access private/protected members...
"TCH002", # pytest doesn't like this one...
"TC002", # pytest doesn't like this one...
]