Skip to content

Commit

Permalink
⬆️ Update dependency ruff to v0.8.0 (#711)
Browse files Browse the repository at this point in the history
* ⬆️ Update dependency ruff to v0.8.0

* Remove unnecessary lint ignore rules and correct test linting code

* Reorder __all__ exports for consistency in __init__.py

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Klaas Schoute <klaas_schoute@hotmail.com>
  • Loading branch information
renovate[bot] and klaasnicolaas authored Nov 25, 2024
1 parent 8742d26 commit 191970b
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 27 deletions.
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.

4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pylint = "3.3.1"
pytest = "8.3.3"
pytest-asyncio = "0.24.0"
pytest-cov = "6.0.0"
ruff = "0.7.4"
ruff = "0.8.0"
syrupy = "4.8.0"
types-pytz = "2024.2.0.20241003"
yamllint = "1.35.1"
Expand Down Expand Up @@ -121,8 +121,6 @@ asyncio_mode = "auto"
target-version = "py311"
lint.select = ["ALL"]
lint.ignore = [
"ANN101", # Self... explanatory
"ANN102", # cls... just as useless
"ANN401", # Opinioated warning on disallowing dynamically typed expressions
"D203", # Conflicts with other rules
"D213", # Conflicts with other rules
Expand Down
6 changes: 3 additions & 3 deletions src/hamburg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
from .models import DisabledParking, Garage, ParkAndRide

__all__ = [
"DisabledParking",
"Garage",
"ParkAndRide",
"UDPHamburg",
"UDPHamburgConnectionError",
"UDPHamburgError",
"DisabledParking",
"ParkAndRide",
"Garage",
]
2 changes: 1 addition & 1 deletion tests/ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ lint.extend-select = [
lint.extend-ignore = [
"S101", # Use of assert detected. As these are tests...
"SLF001", # Tests will access private/protected members...
"TCH002", # pytest doesn't like this one...
"TC002", # pytest doesn't like this one...
]

0 comments on commit 191970b

Please sign in to comment.