elad-bar / ha-edgeos

Integration with EdgeOS (Ubiquiti)
133 stars 24 forks source link

Sync linters configurations with HA core #91

Closed tetienne closed 1 year ago

tetienne commented 1 year ago

Hi,

The pre-commit configuration that was copied from home assistant was not correct for this repository. I update it with the same rules that HA core and fix all the violations.

The idea is to have the same code quality than the one we can see on the Core. For the moment, I didn’t enable the rules related to the documentation. There was indeed to much to do, and this PR already introduce a lot of modifications.

I plan also to add pylint.