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.
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.