Commit Graph

1080 Commits

Author SHA1 Message Date
Charlie Marsh 49df43bb78
Use single newlines in .pyi import sorting (#1142) 2022-12-08 11:34:41 -05:00
Charlie Marsh e338d9acbe
Remove 'consider' language from check messages (#1135) 2022-12-07 20:10:36 -05:00
Charlie Marsh 5c8655f479 Bump ruff_macros to 0.0.169 2022-12-07 19:10:16 -05:00
Charlie Marsh 60987888a2 Re-increase max iterations to 100 2022-12-07 19:10:03 -05:00
Charlie Marsh a81581c781 Bump ruff_macros to 0.0.168 2022-12-07 19:08:18 -05:00
Charlie Marsh 3152dd7a8e
Don't prompt users to --fix if they ran with --fix (#1133) 2022-12-07 19:07:51 -05:00
Charlie Marsh 528416f07a
Rename I252 to TID252; add redirects for all renamed codes (#1129) 2022-12-07 15:12:22 -05:00
Charlie Marsh 4405a6a903 Bump version to 0.0.168 2022-12-07 13:18:40 -05:00
Charlie Marsh 35fa2a3c32
Convert more BTree usages to Fx (#1112) 2022-12-07 12:21:12 -05:00
Charlie Marsh bb67fbb73a
Implement unused argument detection (`ARG`) (#1126)
Detect unused arguments
2022-12-07 12:15:41 -05:00
Charlie Marsh d698c6123e Bump version to 0.0.167 2022-12-07 10:37:31 -05:00
Charlie Marsh 9579faffa8
Avoid flagging bare exception issues when exception is re-raised (#1124) 2022-12-07 10:37:08 -05:00
Phillip Verheyden 9c6e8c7644
Auto-generate the rules table of contents (#1121) 2022-12-07 10:03:42 -05:00
Charlie Marsh 7abecd4f0e
Implement B905 (#1122) 2022-12-07 10:01:24 -05:00
Phillip Verheyden b8ff209af8
Encode prefixes in README headings not just in TOC (#1109) 2022-12-07 09:24:49 -05:00
Jeong YunWon c5451cd8ad
Reduce indents (#1116) 2022-12-07 09:20:33 -05:00
Jonathan Plasse 92b9ab3010
Add aiter() and anext() to BUILTINS (#1118) 2022-12-07 09:20:06 -05:00
Edgar R. M f2ac8c4ec2
Add `flake8-import-conventions` to TOC in readme (#1114) 2022-12-06 21:27:04 -05:00
Charlie Marsh 80e2f0c92e Bump version to 0.0.166 2022-12-06 16:06:19 -05:00
Edgar R. M ea550abd3c
Implement `flake8-import-conventions` (#1098) 2022-12-06 16:01:17 -05:00
Charlie Marsh 5c26777e4c
Avoid flagging ANN errors in @overload implementations (#1110) 2022-12-06 12:46:38 -05:00
Laurent Baillet 6eb6b6eede
Update readme in order to match pylint prefixes (#1105) 2022-12-06 08:59:45 -05:00
Charlie Marsh f1d3e3698a Bump version to 0.0.165 2022-12-06 00:03:30 -05:00
Charlie Marsh 080411bc89 Re-create ruff snapshots 2022-12-06 00:03:14 -05:00
Charlie Marsh f2ad915224 Bump version to 0.0.164 2022-12-05 23:37:22 -05:00
Charlie Marsh 71543eeabc
Rename rules mod to ruff (#1104) 2022-12-05 23:35:36 -05:00
Charlie Marsh 44025f1c92
Improve F841's Flake8 parity for unpacking assignments (#1103) 2022-12-05 23:34:40 -05:00
Charlie Marsh 971bf6d232 Run cargo fmt 2022-12-05 23:01:47 -05:00
Charlie Marsh 0acc47386a
Use pyproject.toml parent as project root when explicitly provided (#1101) 2022-12-05 23:00:59 -05:00
Reiner Gerecke 982ac6b0ad
Auto-generate options in README from field attributes (#1015) 2022-12-05 22:34:40 -05:00
Charlie Marsh 541440f7a8
Re-support F841 detection for single context managers (#1099) 2022-12-05 22:09:45 -05:00
Charlie Marsh 66dde46e03
Track nested imports without column number detection (#1097) 2022-12-05 21:16:44 -05:00
Charlie Marsh 1339e2a002 Bump version to 0.0.163 2022-12-05 20:45:24 -05:00
Charlie Marsh 38ad10f60d
Treat nested classes and functions as "standard" siblings (#1095) 2022-12-05 20:45:12 -05:00
Charlie Marsh 88e78c5cde Add missing D415 fixture 2022-12-05 20:42:21 -05:00
Charlie Marsh 436aeed20a
Implement autofix for D400 and D415 (#1094) 2022-12-05 20:24:56 -05:00
Charlie Marsh b94169a8bb
Don't autofix D210 by introducing a syntax error (#1093) 2022-12-05 19:13:22 -05:00
Charlie Marsh 995994be3e Bump version to 0.0.162 2022-12-05 19:07:44 -05:00
Charlie Marsh f001305b2e
Only autofix D205 by deleting blank lines (#1091) 2022-12-05 19:01:32 -05:00
Charlie Marsh e88093541f
Avoid wrapping import-star statements (#1089) 2022-12-05 18:39:16 -05:00
Charlie Marsh da41a495f1 Remove extraneous plugin creation script 2022-12-05 18:31:19 -05:00
Charlie Marsh 55b7ec8f85
Ignore newline enforcement when imports break indentation boundaries (#1085) 2022-12-05 18:02:41 -05:00
Charlie Marsh 4b41ae3f53 Bump version to 0.0.161 2022-12-05 17:02:05 -05:00
Charlie Marsh f944e1e1cf
Add action comments to README.md (#1082) 2022-12-05 16:56:28 -05:00
Charlie Marsh 4fbc1082de
Support isort: split directive (#1081) 2022-12-05 16:48:10 -05:00
Charlie Marsh cf2e887e38
Tweak summary message to include total error counts (#1067) 2022-12-05 16:12:12 -05:00
Charlie Marsh ee994e8c07
Import compatibility with `isort` newline-insertion behavior (#1078) 2022-12-05 16:07:07 -05:00
Charlie Marsh c69c4fd655
Support isort: skip_file directive (#1075) 2022-12-05 15:02:01 -05:00
Charlie Marsh e01e45ca35 Remove extraneous test file 2022-12-05 14:58:54 -05:00
Charlie Marsh 4be74785fe
Support unterminated isort: off directives (#1074) 2022-12-05 14:54:47 -05:00