Skip to content

Commit

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

* Remove unnecessary lint ignore rules and fix typo in test configuration

* Reorder __all__

---------

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 59aad09 commit bd283e6
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 25 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"
yamllint = "1.35.1"

Expand Down Expand Up @@ -124,8 +124,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
2 changes: 1 addition & 1 deletion src/omnikinverter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"Device",
"Inverter",
"OmnikInverter",
"OmnikInverterError",
"OmnikInverterConnectionError",
"OmnikInverterError",
"OmnikInverterWrongSourceError",
"OmnikInverterWrongValuesError",
]
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 bd283e6

Please sign in to comment.