gcobb321 / recorder_history_prefilter

Custom component to filter entities from the HA Recorder History database. (HA v2023.06+)
MIT License
2 stars 1 forks source link

Formatting changes for linters #1

Closed Snuffy2 closed 1 year ago

Snuffy2 commented 1 year ago

Almost exclusively formatting changes to make the various linters happy. This should make it easier to add into other projects as needed.

Should now be compliant with: isort, black, flake8, bandit, pyflakes, bugbear Max line length: 79

Removed rp_data = hass.data['recorder_prefilter'] (original line 102) as it wasn't used.

Feel free to ignore if you're not interested.

gcobb321 commented 1 year ago

Thanks. I knew it wouldn’t pass any tests and appreciate your taking the time to do the reformatting.