[`flake8-pyi`] Implement `PYI059` (`generic-not-last-base-class`) #11233
[flake8-pyi] Implement PYI059
51ea3068
add negative cases to pyi test case
1f303fd0
improve tests to use attribute as well
586c8d1e
Add auto fix
16ac12a2
clippy
68aa9348
Make issue non fixable if multiple generics are found in bases
7e3a5d2b
clippy fix
97a9f937
[wip] Apply suggestions from code review
84a3edde
cleanup code and add bare generic test case
3cf3ed3a
i thought i set a pre commit hook for clippy
ed30b1a1
raise diagnostic on bases list
26df9fef
preserve comments between the two bases
281cf096
refactor to avoid some unwraps
2c828178
Update crates/ruff_linter/src/rules/flake8_pyi/rules/generic_not_last…
587d5a23
fmt
0b28a2e8
Remove remaining `unwrap()` and `expect()` calls in `generate_fix()`
6fce0fd8
use argument helpers
fc70de69
Small touch-ups
7750c914
AlexWaygood
changed the title [flake8-pyi] Implement PYI059 [`flake8-pyi`] Implement `PYI059` (`generic-not-last-base-class`) 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub