Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync linters configurations with HA core #91

Closed
wants to merge 5 commits into from

Conversation

tetienne
Copy link
Contributor

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.

- --quiet
files: ^((homeassistant|script|tests)/.+)?[^/]+\.py$
files: ^((custom_components)/.+)?[^/]+\.py$
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was the main issue

@tetienne tetienne marked this pull request as draft January 11, 2023 20:05
@tetienne tetienne marked this pull request as ready for review January 11, 2023 21:05
@tetienne tetienne closed this Mar 2, 2023
@tetienne tetienne deleted the apply-linters branch March 2, 2023 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant