Commit graph

117 commits

Author SHA1 Message Date
Charlie Marsh
c384fa513b
Implement B025 from flake8-bugbear (#391) 2022-10-10 12:18:31 -04:00
Charlie Marsh
022ff64d29
Implement B011 from flake8-bugbear (#390) 2022-10-10 10:55:55 -04:00
Charlie Marsh
46750a3e17
Flag unimplemented error codes in M001 (#388) 2022-10-10 10:03:40 -04:00
Harutaka Kawamura
c2a36ebd1e
Implement C410 (#382) 2022-10-09 23:33:55 -04:00
Harutaka Kawamura
38c30905e6
Implement C409 (#381) 2022-10-09 22:34:52 -04:00
Charlie Marsh
b51a080a44
Rename SPR001 to U008 (#379) 2022-10-09 21:58:22 -04:00
Charlie Marsh
6a1d7d8a1c
Defer string annotations even when futures annotations are enabled (#378) 2022-10-09 18:28:29 -04:00
Harutaka Kawamura
bbe0220c72
Implement C415 (#371) 2022-10-09 10:12:58 -04:00
Charlie Marsh
7fe5945541
Implement PEP 604 annotation rewrites (#369) 2022-10-08 20:28:00 -04:00
Charlie Marsh
806f3fd4f6
Implement PEP 585 annotation rewrites (#368) 2022-10-08 18:22:24 -04:00
Charlie Marsh
d0e1612507
Check newline ending on contents directly (#365) 2022-10-08 17:25:22 -04:00
Harutaka Kawamura
5ccd907398
Implement C408 (#364) 2022-10-08 17:17:34 -04:00
Harutaka Kawamura
346610c2e3
Implement C406 (#363) 2022-10-08 11:15:41 -04:00
Harutaka Kawamura
307fa26515
Implement C405 (#362) 2022-10-08 09:03:21 -04:00
Harutaka Kawamura
d9edec0ac9
Implement C402 (#359) 2022-10-07 22:57:04 -04:00
Chris Pryer
473675fffb
Add check for W292 (#339) 2022-10-07 21:10:16 -04:00
Charlie Marsh
99c66d513a
Rename refactor checks to upgrade checks (#354) 2022-10-07 16:54:55 -04:00
Charlie Marsh
4cf2682cda
Implement type(primitive) (#353) 2022-10-07 16:47:06 -04:00
Harutaka Kawamura
e3d1d01a1f
Implement C401 (#343) 2022-10-07 13:00:22 -04:00
Harutaka Kawamura
6dfdd21a7c
Implement C400 (#340) 2022-10-07 12:16:23 -04:00
Harutaka Kawamura
bd34850f98
Implement C404 (#338) 2022-10-07 08:53:18 -04:00
Charlie Marsh
6e19539e28
Enable abspath(__file__) removal (#336) 2022-10-06 22:49:06 -04:00
Harutaka Kawamura
5141285c8e
Implement C403 (#335) 2022-10-06 16:24:23 -04:00
Charlie Marsh
5bf8b13644
Properly combine CLI and pyproject.toml ignores and selects (#329) 2022-10-04 20:07:17 -04:00
Charlie Marsh
44897b2a5b
Enable AST-to-source code generation (#292) 2022-10-04 16:27:57 -04:00
Charlie Marsh
fdb32330a9
Implement __metaclass__ = type removal (#324) 2022-10-04 14:31:52 -04:00
Charlie Marsh
7e4faf4b69
Implement flake8-print (#308) 2022-10-03 17:19:56 -04:00
Charlie Marsh
83f18193c2
Add an end location to Check (#299) 2022-10-02 12:50:42 -04:00
Charlie Marsh
417764d309
Expose a public 'check' method (#289) 2022-09-30 11:30:37 -04:00
Nikita Sobolev
20989e12ba
Implement flake8-super check (#291) 2022-09-30 09:12:09 -04:00
Nikita Sobolev
63ba0bfeef
Adds flake8-builtins (#284) 2022-09-29 16:37:43 -04:00
Charlie Marsh
1d5592d937
Use take-while to terminate on parse errors (#279) 2022-09-28 22:06:35 -04:00
Seamooo
02ae494a0e
Enable per-file ignores (#261) 2022-09-24 13:02:34 -04:00
Harutaka Kawamura
dce86e065b
Make unused variable pattern configurable (#265) 2022-09-24 10:43:39 -04:00
Charlie Marsh
c0ce0b0c48
Enable automatic noqa insertion (#256) 2022-09-22 13:59:06 -04:00
Charlie Marsh
e5b16973a9
Enable autofix for M001 (#255) 2022-09-22 13:21:03 -04:00
Charlie Marsh
de9ceb2fe1
Only enforce multi-line noqa directives for strings (#258) 2022-09-22 13:09:02 -04:00
Charlie Marsh
38b19b78b7
Enable noqa directives on logical lines (#257) 2022-09-22 12:56:15 -04:00
Charlie Marsh
732f208e47
Add a lint rule to enforce noqa validity (#253) 2022-09-21 19:56:38 -04:00
Charlie Marsh
d9e4b0cdc1
Implement --show-settings and --show-files (#246) 2022-09-21 15:08:50 -04:00
Charlie Marsh
d827e6e36a
Implement F405 (#243) 2022-09-21 12:13:40 -04:00
Harutaka Kawamura
71d9b2ac5f
Implement F402 (#221) 2022-09-21 11:12:55 -04:00
Anders Kaseorg
aa9c1e255c
Simplify check_path type (#239) 2022-09-20 21:11:42 -04:00
Anders Kaseorg
50ca0d7d0a
Correctly display the location of parse errors (#237) 2022-09-20 20:53:22 -04:00
Dmitry Dygalo
0091a3ae5f
chore: Do not read the same file twice (#206) 2022-09-15 16:05:29 -04:00
Charlie Marsh
71520213c1
Allow __path__ in __init__.py (#201) 2022-09-15 09:44:03 -04:00
Charlie Marsh
d008a181ec
Improve default exclusions and support extend-exclude (#188) 2022-09-14 22:21:17 -04:00
Charlie Marsh
6d612a428a
Migrate linter tests to insta (#194) 2022-09-14 21:52:44 -04:00
Charlie Marsh
c0cb73ab16
Implement E721 (#193) 2022-09-14 21:10:29 -04:00
Charlie Marsh
2e1eb84cbf
Implement F632 (#190) 2022-09-14 18:22:35 -04:00