Skip to content

Commit

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

* Remove unnecessary lint ignores and update test linting rule

* Reorder __all__ exports for clarity in brussel module

---------

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 a40f148 commit 668b0bd
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 26 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 @@ -46,7 +46,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"
yamllint = "1.35.1"

Expand Down Expand Up @@ -122,8 +122,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
4 changes: 2 additions & 2 deletions src/brussel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
from .models import DisabledParking, Garage

__all__ = [
"DisabledParking",
"Garage",
"ODPBrussel",
"ODPBrusselConnectionError",
"ODPBrusselError",
"Garage",
"DisabledParking",
]
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 668b0bd

Please sign in to comment.