-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add flake8-trio support #8439
Add flake8-trio support #8439
Conversation
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Just some small comments.
crates/ruff_linter/src/rules/flake8_trio/rules/timeout_without_await.rs
Outdated
Show resolved
Hide resolved
crates/ruff_linter/src/rules/flake8_trio/rules/timeout_without_await.rs
Outdated
Show resolved
Hide resolved
273ae27
to
6739414
Compare
Thanks! I also created #8451 to track flake8-trio. |
|
Summary
This pull request adds flake8-trio support to ruff, which is a very useful plugin for trio users to avoid very common mistakes.
Part of #8451.
Test Plan
Traditional rule testing, as described in the documentation.