Charlie Marsh
|
427e0c3158
|
Allow preservation of external check codes (#955)
|
2022-11-28 22:16:17 -05:00 |
|
Charlie Marsh
|
9944246f98
|
Rewrite type annotations on Python 3.7 when __future__ enabled (#953)
|
2022-11-28 20:57:38 -05:00 |
|
Charlie Marsh
|
82b0b7941a
|
Implement eradicate (#947)
|
2022-11-28 20:54:33 -05:00 |
|
Charlie Marsh
|
1617d715f2
|
Allow long lines that consist of only a URL (#952)
|
2022-11-28 20:10:21 -05:00 |
|
pwoolvett
|
c4a7344791
|
fix(flake8_boolean_trap): add allowlist for dict methods (#943)
|
2022-11-28 16:17:01 -05:00 |
|
Anders Kaseorg
|
6c8021e970
|
Fix clippy::manual_let_else (pedantic) (#939)
|
2022-11-28 09:52:59 -05:00 |
|
Charlie Marsh
|
61b6ad46ea
|
Allow @override methods to be undocumented (#941)
|
2022-11-28 09:52:12 -05:00 |
|
Anders Kaseorg
|
041d8108e6
|
Don’t require files with --explain or --generate-shell-completion (#937)
|
2022-11-28 00:40:20 -05:00 |
|
messense
|
23b4e16b1d
|
Add shell completions support (#935)
|
2022-11-27 23:59:36 -05:00 |
|
Charlie Marsh
|
55619b321a
|
Run cargo fmt
|
2022-11-27 22:58:42 -05:00 |
|
Harutaka Kawamura
|
6f31b002f8
|
Do not enforce line length limit for comments ending with a URL (#920)
|
2022-11-27 22:36:17 -05:00 |
|
Charlie Marsh
|
1a79965aa0
|
Allow varargs and kwargs to be prefixed with stars (#933)
|
2022-11-27 22:08:27 -05:00 |
|
Oliver Margetts
|
7fb55c6d99
|
F50x implementation (#919)
|
2022-11-27 21:30:55 -05:00 |
|
Charlie Marsh
|
04ea523ad8
|
Track aliased import-from members (#929)
|
2022-11-27 17:27:27 -05:00 |
|
Charlie Marsh
|
1a2559b001
|
Avoid flagging redundant open modes when open is rebound (#918)
|
2022-11-26 16:24:41 -05:00 |
|
Denis Gavrilyuk
|
721a1e9443
|
Add flake8-debugger (#909)
|
2022-11-26 16:21:03 -05:00 |
|
Charlie Marsh
|
f38bba18ee
|
Fix clippy warnings
|
2022-11-26 15:56:33 -05:00 |
|
Charlie Marsh
|
d28e026525
|
Preserve existing noqa codes in --add-noqa (#913)
|
2022-11-26 14:42:19 -05:00 |
|
Jonathan Plasse
|
d19a8aa54d
|
Auto-generate CheckCodePrefix::fixables() (#916)
|
2022-11-26 14:10:30 -05:00 |
|
Charlie Marsh
|
f299940452
|
Respect noqa comments in U009 (#917)
|
2022-11-26 14:03:18 -05:00 |
|
Charlie Marsh
|
e1ab7163ac
|
Respect f-string locations in B023 check (#914)
|
2022-11-26 10:31:23 -05:00 |
|
Jonathan Plasse
|
9edc479c6c
|
Fix F821 false positive (#911)
|
2022-11-26 10:12:07 -05:00 |
|
Andri Bergsson
|
bef601b994
|
Add keyword argument handling for redundant open modes. (#906)
|
2022-11-25 18:38:05 -05:00 |
|
Charlie Marsh
|
7445d00b88
|
Implement B023 (function uses loop variable) (#907)
|
2022-11-25 18:29:54 -05:00 |
|
Charlie Marsh
|
7c78d4e103
|
Use docstring comment for CheckCode
|
2022-11-25 13:15:43 -05:00 |
|
Oliver Margetts
|
8b14f1b8cc
|
Implement F522-F525 (#899)
|
2022-11-25 13:14:31 -05:00 |
|
Charlie Marsh
|
04b9c0a31d
|
Fix cargo clippy
|
2022-11-24 23:40:43 -05:00 |
|
Harutaka Kawamura
|
49dc8231be
|
Fix typo (#902)
|
2022-11-24 23:38:45 -05:00 |
|
Charlie Marsh
|
92ca114882
|
Move some main.rs subcommands to a new module (#901)
|
2022-11-24 22:43:43 -05:00 |
|
Charlie Marsh
|
553bc7443a
|
Remove UserConfiguration struct (#900)
|
2022-11-24 22:39:07 -05:00 |
|
CelebrateVC
|
a3af6c1ea5
|
Implement GlobSet optimization for file path exclusions (#883)
|
2022-11-24 22:31:55 -05:00 |
|
Oliver Margetts
|
2cf2805848
|
Implement F521 (#898)
|
2022-11-24 18:09:36 -05:00 |
|
Harutaka Kawamura
|
33fbef7700
|
Implement B904 (#892)
|
2022-11-24 09:49:57 -05:00 |
|
Charlie Marsh
|
6cd8655d29
|
Treat withitem variables as bindings (#897)
|
2022-11-23 20:28:37 -05:00 |
|
Charlie Marsh
|
77e0be3464
|
Visit iter prior to target in comprehensions (#895)
|
2022-11-23 10:13:21 -05:00 |
|
Harutaka Kawamura
|
19ad6ab4f5
|
Add --explain (#887)
|
2022-11-23 00:06:25 -05:00 |
|
Charlie Marsh
|
7316b120ba
|
Log errors in add_noqa and autoformat calls (#881)
|
2022-11-22 19:21:36 -05:00 |
|
Charlie Marsh
|
fec887e481
|
Apply a limit to the number of fix iterations (#882)
|
2022-11-22 19:21:31 -05:00 |
|
Charlie Marsh
|
bdd32c0850
|
Enforce most pedantic lints on CI (#878)
|
2022-11-22 18:55:57 -05:00 |
|
Charlie Marsh
|
10dcd5fd0a
|
Remove unused imports
|
2022-11-22 18:45:24 -05:00 |
|
Charlie Marsh
|
b922e6ecc8
|
Fix clippy::unnecessary_wraps (pedantic) (#880)
https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_wraps
|
2022-11-22 18:25:30 -05:00 |
|
Charlie Marsh
|
f59799e0c4
|
Remove lingering empty lines
|
2022-11-22 17:54:24 -05:00 |
|
Charlie Marsh
|
814ddeb7ea
|
Remove always-inline (#879)
|
2022-11-22 17:13:25 -05:00 |
|
Charlie Marsh
|
9315b9f459
|
Remove Mode from various internal checkers (#877)
|
2022-11-22 16:57:47 -05:00 |
|
Charlie Marsh
|
113b5a10bf
|
Return Vec<Check> from check_tokens (#876)
|
2022-11-22 16:43:32 -05:00 |
|
Charlie Marsh
|
fe77fb70a1
|
Apply autofixes iteratively until code is stabilized (#875)
|
2022-11-22 16:37:52 -05:00 |
|
Anders Kaseorg
|
a46160f0e2
|
Fix clippy::unreadable_literal (pedantic)
https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|
Anders Kaseorg
|
9a66cf2ffb
|
Fix clippy::uninlined_format_args (pedantic)
https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|
Anders Kaseorg
|
3205473612
|
Ignore clippy::struct_excessive_bools (pedantic)
“consider using a state machine or refactoring bools into two-variant
enums”
https://rust-lang.github.io/rust-clippy/master/index.html#struct_excessive_bools
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|
Anders Kaseorg
|
0bb8b14ae1
|
Fix clippy::single_match_else (pedantic)
https://rust-lang.github.io/rust-clippy/master/index.html#single_match_else
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-11-21 23:22:28 -05:00 |
|