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

Switch to ruff in tests and precommit #786

Merged
merged 4 commits into from
Oct 16, 2023

Conversation

raman325
Copy link
Contributor

@raman325 raman325 commented Oct 16, 2023

New to ruff so if you wonder why I did something a certain way, I probably didn't have a good reason, I was just experimenting/using HA as a reference while trying to minimize complexity. I fixed some things that ruff caught so that's great.

I disabled warn_return_any because all of a sudden it started spitting out a bunch of errors. Not sure why we didn't see these before? If we want to re-enable it, I can do so in a separate PR, just let me know I re-enabled it without issue and ran mypy to confirm there were no errors, so not sure what happened

@raman325 raman325 merged commit de5355f into home-assistant-libs:master Oct 16, 2023
4 checks passed
@raman325 raman325 deleted the ruff branch October 16, 2023 18:00
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.

2 participants