-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[flake8-pyi
] - add autofix for future-annotations-in-stub
(PYI044
)
#12676
Conversation
|
code | total | + violation | - violation | + fix | - fix |
---|---|---|---|---|---|
PYI044 | 10 | 0 | 0 | 10 | 0 |
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.
Nice! Looks good overall
crates/ruff_linter/src/rules/flake8_pyi/rules/future_annotations_in_stub.rs
Outdated
Show resolved
Hide resolved
crates/ruff_linter/src/rules/flake8_pyi/rules/future_annotations_in_stub.rs
Outdated
Show resolved
Hide resolved
crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI044.pyi
Outdated
Show resolved
Hide resolved
CodSpeed Performance ReportMerging #12676 will not alter performanceComparing Summary
|
bdf4c2d
to
cb3495c
Compare
Thanks @AlexWaygood for the review. |
…4`) (astral-sh#12676) ## Summary add autofix for `PYI044` ## Test Plan `cargo test`
Summary
add autofix for
PYI044
Test Plan
cargo test