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 |
|
Oliver Margetts
|
8b14f1b8cc
|
Implement F522-F525 (#899)
|
2022-11-25 13:14:31 -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 |
|
Andri Bergsson
|
ce116a80ad
|
Automatically remove redundant open modes #640 (#843)
|
2022-11-21 16:06:41 -05:00 |
|
Charlie Marsh
|
cd1e07f37c
|
Avoid incrementing McCabe complexity for class methods (#857)
|
2022-11-21 13:30:36 -05:00 |
|
Charlie Marsh
|
7bd6db62d9
|
Sort relative imports by parent level descending (#856)
|
2022-11-21 13:30:24 -05:00 |
|
Charlie Marsh
|
6733aad216
|
Avoid attempting to fix PEP 604 violations with deferred annotations (#845)
|
2022-11-20 21:41:54 -05:00 |
|
Jonathan Plasse
|
7cab541343
|
Add convert exit() to sys.exit() rule (#816)
|
2022-11-20 18:09:40 -05:00 |
|
Charlie Marsh
|
1a3d2ead41
|
Support PEP 562 (#841)
|
2022-11-20 17:55:57 -05:00 |
|
Jonathan Plasse
|
f96c64b40d
|
Fix N804 class method with positional only args (#836)
|
2022-11-20 15:48:09 -05:00 |
|
Charlie Marsh
|
8123e3e94e
|
Remove extraneous Python file
|
2022-11-20 13:39:55 -05:00 |
|
Charlie Marsh
|
9f9a545c51
|
Improve cache performance by removing cacache dependency (#833)
|
2022-11-20 13:36:33 -05:00 |
|
Martin Lehoux
|
40f38c94a5
|
Implement U014: Convert NamedTuple function to class (#819)
|
2022-11-20 10:26:15 -05:00 |
|
Harutaka Kawamura
|
7839204bf7
|
Implement autofix for B010 (#823)
|
2022-11-20 10:14:29 -05:00 |
|
Anders Kaseorg
|
4161d4ae32
|
Exempt parameters with immutable annotations from B006 (#821)
|
2022-11-19 19:46:08 -05:00 |
|
Charlie Marsh
|
99f7854d8c
|
Mark nonlocal variables as used in parent scopes (#822)
|
2022-11-19 19:21:02 -05:00 |
|
Harutaka Kawamura
|
a580d1a858
|
Adjust UnusedNOQA start location (#817)
|
2022-11-19 09:30:02 -05:00 |
|
Martin Lehoux
|
86806a9e39
|
U013: Also convert typing.TypedDict (#810)
|
2022-11-19 09:29:05 -05:00 |
|
Jonathan Plasse
|
b74fd1fe13
|
Change error code of flake8-blind-except (#808)
|
2022-11-18 13:30:36 -05:00 |
|
pwoolvett
|
7a4449eacb
|
Add flake8-boolean-trap (#790)
|
2022-11-18 12:30:07 -05:00 |
|
Jonathan Plasse
|
2f894e3951
|
Add flake8-blind-except (#805)
|
2022-11-18 12:15:10 -05:00 |
|
Charlie Marsh
|
589d923c99
|
Misc. follow-ups to #716 (#806)
|
2022-11-18 12:14:41 -05:00 |
|
Martin Lehoux
|
c5722d8a4d
|
Implement U013: Unnecessary TypedDict syntactic form (#716)
|
2022-11-18 12:10:47 -05:00 |
|
Edgar R. M
|
f44fada446
|
Implement C901 (mccabe) (#765)
|
2022-11-17 17:40:50 -05:00 |
|
Charlie Marsh
|
66ae4db6cd
|
Ignore globals when checking local variable names (#800)
|
2022-11-17 17:19:01 -05:00 |
|
Charlie Marsh
|
801c76037f
|
Except BaseException from N818 checks (#798)
|
2022-11-17 15:04:42 -05:00 |
|
Charlie Marsh
|
ab825eb28d
|
Fix D202 to remove line after docstring (#797)
|
2022-11-17 15:01:58 -05:00 |
|
Charlie Marsh
|
826ef7da67
|
Trigger N818 when parent ends in Error or Exception (#796)
|
2022-11-17 14:51:40 -05:00 |
|
Charlie Marsh
|
f0a54716e5
|
Implement flake8-tidy-imports (#789)
|
2022-11-17 11:44:06 -05:00 |
|
Harutaka Kawamura
|
c59e1ff0b5
|
Implement auto-fix for E711 and E712 (#784)
|
2022-11-17 11:43:44 -05:00 |
|
Jonathan Plasse
|
8063aee006
|
Remove unnecessary abspath rule (U002) (#781)
|
2022-11-17 11:29:42 -05:00 |
|
Charlie Marsh
|
b04a6a3f7c
|
Support arbitrary expression paths for class and static decorators (#772)
|
2022-11-16 12:24:46 -05:00 |
|
Charlie Marsh
|
17c5cd7c42
|
Fix off-by-one in noqa map detection (#771)
Fix off-by-one in noqa
|
2022-11-16 12:00:10 -05:00 |
|
Harutaka Kawamura
|
910ee523dd
|
Fix E731 (#766)
|
2022-11-16 09:17:14 -05:00 |
|
Charlie Marsh
|
82fea36bb3
|
Preserve comments when sorting imports (#749)
|
2022-11-15 22:02:52 -05:00 |
|
Harutaka Kawamura
|
1821c07367
|
Implement B020 (#753)
|
2022-11-15 16:17:03 -05:00 |
|
Charlie Marsh
|
ff0e5f5cb4
|
Preserve scopes when checking deferred strings (#758)
|
2022-11-15 12:19:22 -05:00 |
|
Charlie Marsh
|
8961da7b89
|
Add support for import alias tracking (#746)
|
2022-11-14 21:29:30 -05:00 |
|
Harutaka Kawamura
|
3e3c3c7421
|
Ignore namedtuple assignment in N806, N815, and N816 (#735)
|
2022-11-14 13:21:04 -05:00 |
|
Harutaka Kawamura
|
9047bf680d
|
Implement B024 and B027 (#738)
|
2022-11-14 13:12:23 -05:00 |
|
Harutaka Kawamura
|
a8159f9893
|
Implement B022 (#734)
|
2022-11-14 09:24:05 -05:00 |
|
Charlie Marsh
|
ce3c45a361
|
Make combine-as-imports the default import sorting behavior (#731)
|
2022-11-13 23:07:13 -05:00 |
|
Charlie Marsh
|
1ae07b4c70
|
Allow explicit re-export of straight imports (#729)
|
2022-11-13 22:26:48 -05:00 |
|
Charlie Marsh
|
34ecc69914
|
Don't mark re-exported symbols as unused (#724)
|
2022-11-13 14:31:43 -05:00 |
|
Harutaka Kawamura
|
84bf36194b
|
Implement B012 (#718)
|
2022-11-13 11:55:33 -05:00 |
|