Bouni / python-luxtronik

python-luxtronik is a library that allow you to interact with a Luxtronik heatpump controller.
MIT License
38 stars 20 forks source link

Fix ruff issues #182

Closed Bouni closed 2 months ago

Bouni commented 2 months ago

I noticed that ruff was complaining after I merged a PR that was open for a few months, despite it was marked as all good in the PR view.

Probably som versin mismatch or something like that.

So I fixed the linter warnings and upgraded the pre-commit-cofig and the lint action.

github-actions[bot] commented 2 months ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
luxtronik
   __init__.py1841194%42–43, 46–51, 257–258, 263
   __main__.py21210%3–49
   datatypes.py276199%82
   discover.py403415%21–69
luxtronik/scripts
   dump_changes.py43430%7–85
   dump_luxtronik.py26260%6–52
TOTAL67613680% 

Tests Skipped Failures Errors Time
124 0 :zzz: 0 :x: 0 :fire: 3.999s :stopwatch: