Commit Graph

1258 Commits

Author SHA1 Message Date
Charlie Marsh 1c16255884
Include docstrings for settings enum members (#1446) 2022-12-29 13:15:44 -05:00
Charlie Marsh 0ba3989b3d
Make update check enablement cofnigurable (#1445) 2022-12-29 13:06:22 -05:00
Maksudul Haque 781bbbc286
[pygrep-hooks] Adds Check for Blanket `# noqa` (#1440) 2022-12-29 12:43:16 -05:00
Charlie Marsh acf0b82f19
Re-style the Ruff playground (#1438) 2022-12-29 11:47:27 -05:00
Charlie Marsh 057414ddd4 Bump version to 0.0.199 2022-12-28 20:58:43 -05:00
Charlie Marsh 058ee8e6bf
Add a --diff flag to dry-run autofixes (#1431) 2022-12-28 19:21:29 -05:00
Colin Delahunty 34842b4c4b
PyUpgrade: Replace pipes with `capture_output=True` (#1415) 2022-12-28 16:53:35 -05:00
Colin Delahunty 6131c819ed
Rewrite xml.etree.cElementTree to xml.etree.ElementTree (#1426) 2022-12-28 16:30:36 -05:00
Maksudul Haque 8e479628f2
Add Support for GitLab CI Code Quality Report Format (#1424) 2022-12-28 10:10:43 -05:00
Charlie Marsh c679570041 Bump version to 0.0.198 2022-12-27 21:39:53 -05:00
Charlie Marsh edcb3a7217
Support --select ALL to enable all error codes (#1418) 2022-12-27 21:38:26 -05:00
Charlie Marsh 6e43dc7270
Add nbQA support to the docs (#1417) 2022-12-27 21:24:07 -05:00
Charlie Marsh 570d0864f2
Add rule to detect keyword arguments before starred arguments (#1416) 2022-12-27 21:17:22 -05:00
Charlie Marsh 043d31dcdf Bump version to 0.0.197 2022-12-27 17:05:15 -05:00
Charlie Marsh 3e96803033 Bump version to 0.0.196 2022-12-27 12:02:02 -05:00
Colin Delahunty c59035139c
Pyupgrade: converts `universal_newlines` to `text` in `subprocess.run` (#1403) 2022-12-27 12:01:27 -05:00
Charlie Marsh 7632d7eda7
Allow specification of explicit docstring convention (#1408) 2022-12-27 11:50:28 -05:00
Reiner Gerecke 534d8d049c
Support isort's force-single-line option (#1366) 2022-12-27 08:51:32 -05:00
Reiner Gerecke e0b39fa63e
Implement pyupgrade check for io.open alias (#1399) 2022-12-27 07:47:40 -05:00
Charlie Marsh 320a48977b Tweak README again 2022-12-26 21:17:18 -05:00
Charlie Marsh 0d05aaeb6e Add monorepo note 2022-12-26 21:00:14 -05:00
Charlie Marsh 1e4b1533ad Bump version to 0.0.195 2022-12-26 20:41:39 -05:00
Charlie Marsh df4f5358f9 Bump pyupgrade implementation count 2022-12-26 19:56:12 -05:00
Colin Delahunty 58c383401c
Replace `typing.Text` with `str` (#1391) 2022-12-26 19:55:41 -05:00
Colin Delahunty debd909b2c
Magic Trailing Commas in isort (#1363) 2022-12-26 09:40:02 -05:00
Charlie Marsh b0f30bef8f
Add support for `ruff.toml` (#1378) 2022-12-25 21:55:07 -05:00
Charlie Marsh 4dc45912e8 Run cargo dev commands 2022-12-25 20:12:12 -05:00
Charlie Marsh 5ef8bff341 Bump version to 0.0.194 2022-12-25 19:54:45 -05:00
Charlie Marsh 2ab8f77223 Update command-line help text 2022-12-25 19:54:14 -05:00
Charlie Marsh 8b72f55a09
Add `--required-version` (#1376) 2022-12-25 19:53:50 -05:00
Charlie Marsh d9355c989a
Add a `--fix-only` command-line and `pyproject.toml` option (#1375) 2022-12-25 18:49:56 -05:00
Charlie Marsh cc2110449c Run cargo dev commands 2022-12-24 15:06:12 -05:00
Charlie Marsh f6ca49e05f Bump version to 0.0.193 2022-12-24 14:56:26 -05:00
Edgar R. M 4888afd423
Generate JSON schema for Ruff options (#1329) 2022-12-24 14:10:22 -05:00
Sawbez 0dc523b081
Add autofix for W605 [InvalidEscapeSequence] (#1361) 2022-12-24 13:46:28 -05:00
Sawbez 4ded155dc0
Add autofix for W292 [NoNewLineAtEndOfFile] (#1354) 2022-12-23 23:14:17 -05:00
Reiner Gerecke 102b049a32
Add cache-dir to command-line and pyproject.toml (#1351) 2022-12-23 22:58:29 -05:00
Charlie Marsh 74f49eda64
Bump compatibility to 3.11 (#1352) 2022-12-23 12:12:11 -05:00
Reiner Gerecke 9da3e2cca1
Implement "native literals" check from pyupgrade (#1350) 2022-12-23 11:40:32 -05:00
Charlie Marsh bc9ed0a4ef Tweak LSP docs 2022-12-22 22:16:32 -05:00
Charlie Marsh 20b9b44973 Link to ruff-lsp docs 2022-12-22 21:53:11 -05:00
Charlie Marsh 6e5a553235 Update Neovim instructions 2022-12-22 21:52:30 -05:00
Charlie Marsh 2a08a63f17
Add a link to the PyCharm plugin (#1345) 2022-12-22 21:50:24 -05:00
Charlie Marsh 51bda28a7d Bump version to 0.0.192 2022-12-22 17:31:31 -05:00
Reiner Gerecke cc26051b7a
Implement "datetime.UTC alias" check from pyupgrade (#1341) 2022-12-22 17:21:36 -05:00
Charlie Marsh 970f882b03
Set force-exclude for pre-commit in README (#1337) 2022-12-22 10:51:20 -05:00
Charlie Marsh a4a24a0ef3
Add some more repositories to the user list (#1328) 2022-12-21 22:16:47 -05:00
Charlie Marsh 03e4f5be8a Bump version to 0.0.191 2022-12-21 21:16:21 -05:00
Charlie Marsh 99657b7d92
Implement E401 ("multiple imports on one line") (#1326) 2022-12-21 21:15:57 -05:00
Charlie Marsh ff66d08cef Run generate-options 2022-12-21 20:58:14 -05:00
Charlie Marsh bf5fec342c
Support shell expansion in `extend` paths (#1323) 2022-12-21 20:46:38 -05:00
Charlie Marsh 20234c6156 Bump version to 0.0.190 2022-12-21 16:01:48 -05:00
Charlie Marsh ef8fe31c0c Bump version to 0.0.189 2022-12-20 13:26:17 -05:00
Charlie Marsh a61126ab23 Run generate-options 2022-12-19 23:19:05 -05:00
Charlie Marsh 4107bc828d Bump version to 0.0.188 2022-12-19 12:18:06 -05:00
Charlie Marsh 706d28cabc
Rename PDV checks to PD (#1288) 2022-12-19 00:20:28 -05:00
Yasu_umi 8a4831dd5b
Implement flake8-datetimez (#1270) 2022-12-18 22:06:06 -05:00
Charlie Marsh b5ab492a70 Bump version to 0.0.187 2022-12-18 20:09:02 -05:00
Charlie Marsh 6cf047976c Bump pygrep-hooks tally in README 2022-12-18 18:05:32 -05:00
Reiner Gerecke 87465daacc
pygrep-hooks - deprecated use of logging.warn & no blanket type ignore (#1275) 2022-12-18 18:04:21 -05:00
Charlie Marsh 1028ed3565 Bump version to 0.0.186 2022-12-18 14:30:30 -05:00
Anders Kaseorg 98897db6ac
Add packaging status badge from repology (#1276) 2022-12-18 14:27:29 -05:00
Honkertonken 5ce4262112
Readme : Fix incorrect exmaple. (#1277) 2022-12-18 12:04:48 -05:00
Anders Kaseorg 04b1e1de6f
README: Add missing backtick (#1274) 2022-12-18 00:29:33 -05:00
Anders Kaseorg c93c85300f
Repair corrupted PDV007, PDV009 messages (#1273) 2022-12-18 00:29:12 -05:00
Charlie Marsh 73ed6f8654 Touch-up README 2022-12-17 21:38:45 -05:00
Charlie Marsh f366b0147f
Add ruff-lsp to README (#1272) 2022-12-17 21:35:44 -05:00
Charlie Marsh fc88fa35ff
Add instructions for Sublime Text installation (#1271) 2022-12-17 16:22:50 -05:00
Charlie Marsh a2806eb8ef Bump version to 0.0.185 2022-12-16 23:47:56 -05:00
Charlie Marsh 1e19142d0e Bump version to 0.0.184 2022-12-16 14:36:25 -05:00
Charlie Marsh d6e765877e
Enable autofix for __init__ method with missing None-return (#1265) 2022-12-16 14:28:56 -05:00
Charlie Marsh 634553f188
Add ignore-variadic-names options to flake8-unused-arguments (#1261) 2022-12-16 00:22:38 -05:00
Charlie Marsh 481d668511 Add flake8-errmsg to README 2022-12-15 23:16:38 -05:00
Charlie Marsh a9f56ee76e Bump version to 0.0.183 2022-12-15 23:15:12 -05:00
Edgar R. M 8281d414ca
Implement `flake8-errmsg` (#1258) 2022-12-15 23:10:59 -05:00
Martin Lehoux d8b4b92733
Implement U016: Remove six compatibility code (#1013) 2022-12-15 14:16:58 -05:00
Edgar R. M 27de342e75
Implement `pandas-vet` (#1235) 2022-12-15 14:01:01 -05:00
Charlie Marsh 1ea2e93f8e Bump version to 0.0.182 2022-12-14 22:57:22 -05:00
Charlie Marsh 549ea2f85f
Ignore any `pyproject.toml` without a `[tool.ruff]` section (#1243) 2022-12-14 19:35:52 -05:00
Charlie Marsh d814ebd21f Bump version to 0.0.181 2022-12-14 17:35:36 -05:00
Charlie Marsh 3f272b6cf8
Enable opt-out of `.gitignore` checks via `respect-gitignore` flag (#1242) 2022-12-14 16:54:23 -05:00
Charlie Marsh 854cd14842 Bump version to 0.0.180 2022-12-14 13:21:10 -05:00
Charlie Marsh 765d21c7b0 Bump version to 0.0.179 2022-12-13 10:17:16 -05:00
Charlie Marsh a58b9b5063
Upgrade RustPython to support parenthesized context managers (#1228) 2022-12-13 10:16:43 -05:00
Charlie Marsh f3e11a30cb Bump version to 0.0.178 2022-12-12 22:06:04 -05:00
Charlie Marsh 2f3b5367ff Add a note on extends to README 2022-12-12 21:36:39 -05:00
Charlie Marsh 92bc417e4e
Add support for glob patterns in `src` (#1225) 2022-12-12 21:35:03 -05:00
Charlie Marsh 9853b0728b
Enable configuration files to "extend" other configuration files (#1219) 2022-12-12 20:28:22 -05:00
Charlie Marsh 77709dcc41 Remove underscore from extend_exclude 2022-12-12 16:34:16 -05:00
Charlie Marsh b0cb5fc7ef
Document current behavior around `pyproject.toml` discovery (#1213) 2022-12-12 11:49:21 -05:00
Charlie Marsh 19e9eb1af8 Bump version to 0.0.177 2022-12-11 22:38:52 -05:00
Anders Kaseorg e57044800c
Fix quotes in SIM118 error message (#1204) 2022-12-11 22:30:39 -05:00
Charlie Marsh ae8ff7cb7f
Add notes around python-lsp-ruff (#1202) 2022-12-11 17:36:20 -05:00
Charlie Marsh 24179655b8 Fix 'a test' reference 2022-12-11 13:31:14 -05:00
Charlie Marsh d27b419e68 Run cargo dev generate-options 2022-12-11 10:34:52 -05:00
Charlie Marsh 9fc7a32a24 Sort list in README 2022-12-11 10:25:27 -05:00
Charlie Marsh 9161b866b5 Bump version to 0.0.176 2022-12-11 10:19:50 -05:00
Charlie Marsh 99f077aa4e Add missing hash in README comment 2022-12-11 10:05:32 -05:00
Reiner Gerecke 7f25d1ec70
Implement SIM118 (key in dict) of flake8-simplify (#1195) 2022-12-11 10:05:11 -05:00
Reiner Gerecke 247dcc9f9c
Mark C413 as fixable (#1191) 2022-12-11 09:07:51 -05:00
Charlie Marsh c86e52193c Bump version to 0.0.175 2022-12-10 21:23:19 -05:00
Reiner Gerecke 06ed125771
Add autofix for F504 and F522 (#1184) 2022-12-10 16:33:09 -05:00
Charlie Marsh 6da3de25ba
Add jupyter_server to README (#1182) 2022-12-10 12:10:27 -05:00
Charlie Marsh 63b3e00c97 Bump version to 0.0.174 2022-12-10 12:08:48 -05:00
Charlie Marsh b8bbafd85b
Flag global usages prior to `global` declarations (#1178) 2022-12-10 11:19:24 -05:00
Charlie Marsh 2b44941d63
Add pacman instructions to README (#1175) 2022-12-10 10:00:01 -05:00
Charlie Marsh 257bd7f1d7 Bump version to 0.0.173 2022-12-09 23:23:12 -05:00
Charlie Marsh b35a804f9d Bump version to 0.0.172 2022-12-09 17:47:34 -05:00
Charlie Marsh e594ed6528
Implement D301 (backslash checks) (#1169) 2022-12-09 17:44:18 -05:00
Charlie Marsh 0dacf61153
Implement F842 (UnusedAnnotation) (#1165) 2022-12-09 12:42:03 -05:00
Charlie Marsh 2965e2561d
Clarify combination of combine-as-imports and force-wrap-aliases (#1162) 2022-12-09 12:20:15 -05:00
Charlie Marsh a19050b8a4 Update README.md 2022-12-08 23:39:01 -05:00
Charlie Marsh dfd6225d85 Bump version to 0.0.171 2022-12-08 23:18:48 -05:00
Charlie Marsh aaeab0ecf1
Implement F811 (`RedefinedWhileUnused`) (#1137) 2022-12-08 21:31:08 -05:00
Charlie Marsh a710e35ebc Bump version to 0.0.170 2022-12-08 11:36:24 -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 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 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
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
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 f2ad915224 Bump version to 0.0.164 2022-12-05 23:37:22 -05:00
Reiner Gerecke 982ac6b0ad
Auto-generate options in README from field attributes (#1015) 2022-12-05 22:34:40 -05:00
Charlie Marsh 1339e2a002 Bump version to 0.0.163 2022-12-05 20:45:24 -05:00
Charlie Marsh 436aeed20a
Implement autofix for D400 and D415 (#1094) 2022-12-05 20:24:56 -05:00
Charlie Marsh 995994be3e Bump version to 0.0.162 2022-12-05 19:07:44 -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 40b7c64f7d Bump version to 0.0.160 2022-12-05 12:56:38 -05:00
Jonathan Plasse a76c5d1226
Add allowed-confusable settings (#1059) 2022-12-05 12:53:55 -05:00
Charlie Marsh 1d1662cb9c Bump version to 0.0.159 2022-12-05 11:22:02 -05:00
Charlie Marsh 7024ad7cc7 Bump version to 0.0.158 2022-12-04 21:22:24 -05:00
Charlie Marsh 871ac511ae
Add an option to force one-member-per-line for aliased import-froms (#1047) 2022-12-04 21:22:00 -05:00
Charlie Marsh 5e9a8fcf53 Bump version to 0.0.157 2022-12-04 14:46:46 -05:00
Charlie Marsh 76439235af
Remove unused imports in `__init__.py` files by default (#1042) 2022-12-04 14:45:54 -05:00
Charlie Marsh d06dc4c72d Bump version to 0.0.156 2022-12-04 10:22:09 -05:00
Jonathan Plasse 8f6b2fb32b
Extend and rename RUF004 to PLR1722 (#1036) 2022-12-04 10:20:12 -05:00
Harutaka Kawamura abb2adc4d8
Implement `useless-import-alias` (#1025) 2022-12-04 09:48:56 -05:00
Harutaka Kawamura e070166409
Implement useless-else-on-loop (#1031) 2022-12-04 09:22:04 -05:00
Jonathan Plasse 0ae6890094
Fix Table of Contents (#1030) 2022-12-04 09:14:09 -05:00
Jakub Kuczys 4994b72ba2
Fix README header links in isort config section (#1033) 2022-12-04 09:12:25 -05:00
Charlie Marsh 4b0c3e3bc9 Bump version to 0.0.155 2022-12-04 00:12:00 -05:00
Charlie Marsh ddae3586d5
Add support for combine-as-imports import formatting (#1022) 2022-12-04 00:11:48 -05:00
Charlie Marsh 97684b7215 Mark MisplacedComparisonConstant as fixable 2022-12-04 00:11:19 -05:00
Harutaka Kawamura 20e6ff112a
Implement `misplaced-comparison-constant` (#1023) 2022-12-04 00:10:07 -05:00
Charlie Marsh 6cb84d29f0
Rename M001 to RUF100 (#1021) 2022-12-03 22:51:05 -05:00
Charlie Marsh c659cb86d9
Rename RUF101 to RUF004 (#1020) 2022-12-03 22:46:13 -05:00
Harutaka Kawamura 58e7baedd0
Implement `consider-using-from-import` (#1018) 2022-12-03 22:36:43 -05:00
Charlie Marsh 00eff2b09a
Rename pyupgrade rules from UXXX to UPXXX (#957) 2022-12-03 22:35:42 -05:00
Charlie Marsh b6b509811d Bump version to 0.0.154 2022-12-03 20:14:38 -05:00
Charlie Marsh 87bdda3cfa
Make some `flake8-return` rules auto-fixable (#1017) 2022-12-03 20:13:17 -05:00
Charlie Marsh 291727a27d
Implement `flake8-return` plugin (#1016) 2022-12-03 20:12:11 -05:00
Charlie Marsh e66b786229 Bump version to 0.0.153 2022-12-03 17:05:39 -05:00
Harutaka Kawamura e05e1cdf76
Implement `consider-merging-isinstance` (#1009) 2022-12-03 16:51:53 -05:00
Harutaka Kawamura ebd2181946
Implement `unnecessary-direct-lambda-call` (#1008) 2022-12-03 09:59:04 -05:00
Harutaka Kawamura 115e85b47d
Rename PLE0206 to PLR0206 (#1006) 2022-12-03 00:14:46 -05:00
Harutaka Kawamura 31a3314ebd
Implement PLE0206 (#1005) 2022-12-03 00:04:43 -05:00
Charlie Marsh bf33025ea9
Support whole-file noqa exclusions (#1001) 2022-12-02 23:56:56 -05:00
Charlie Marsh 1a33ee3fc4 Bump version to 0.0.152 2022-12-02 13:23:00 -05:00
Jonathan Plasse 117fcb6936
Add no-eval rule from pygrep-hooks (#994) 2022-12-02 12:59:06 -05:00
Charlie Marsh 1a24d78f67 Bump version to 0.0.151 2022-12-01 22:31:44 -05:00
Charlie Marsh d699bb7b86 Bump version to 0.0.150 2022-12-01 16:31:18 -05:00
Charlie Marsh 6fe478cb43
Add Conda installation instructions (#982) 2022-12-01 12:19:39 -05:00
Edgar R. M 6f48ac6c0b
Add GitHub output format (#975) 2022-12-01 10:22:11 -05:00
Charlie Marsh f6b0a606d6
Implement await-outside-async / E1142 (#972) 2022-11-30 11:38:03 -05:00
Charlie Marsh 6fa0f21227 Bump version to 0.0.149 2022-11-30 00:51:36 -05:00
messense f5466fe720
Add JUnit xml output format (#968) 2022-11-30 00:47:41 -05:00
Charlie Marsh a0202e8eb2
Add Pylint parity to FAQ (#969) 2022-11-29 23:51:27 -05:00
Charlie Marsh 30ff4de9a3 Bump version to 0.0.148 2022-11-29 22:50:30 -05:00
Charlie Marsh 2fe22a223b Bump version to 0.0.147 2022-11-29 20:17:58 -05:00
Charlie Marsh e762dec677 Add one more note to README 2022-11-29 20:17:46 -05:00
Charlie Marsh 808b348c5f Add W to pycodestyle list in README 2022-11-29 20:09:07 -05:00
Charlie Marsh e55daa89e6
Uses dashes for README options (#966) 2022-11-29 20:08:03 -05:00
Charlie Marsh b8e7d86696
Add pyupgrade's --keep-runtime-typing option (#965) 2022-11-29 20:05:32 -05:00
Charlie Marsh ced7868559
Add format setting to pyproject.toml (#964) 2022-11-29 19:22:23 -05:00
Hayden ca38c7ac48
Grouped format implementation (#954) 2022-11-29 18:45:16 -05:00
Guillaume Andreu Sabater 602291c0c2
README: fixed conf section typo (#959) 2022-11-29 09:27:02 -05:00
Charlie Marsh 0e6a38e6d8 Bump version to 0.0.146 2022-11-28 22:27:41 -05:00
Charlie Marsh 058fd8748d Re-generate check code prefix and rules table 2022-11-28 22:26:32 -05:00
Charlie Marsh ea73c717be
Remove pre-commit note in README.md (#956) 2022-11-28 22:18:59 -05:00
Charlie Marsh 427e0c3158
Allow preservation of external check codes (#955) 2022-11-28 22:16:17 -05:00
Charlie Marsh dca994d05f Bump version to 0.0.145 2022-11-28 20:57:58 -05:00
Charlie Marsh 82b0b7941a
Implement eradicate (#947) 2022-11-28 20:54:33 -05:00
Charlie Marsh 72453695d6 Bump version to 0.0.144 2022-11-28 20:11:08 -05:00
Charlie Marsh ea9acda732 Bump version to 0.0.143 2022-11-28 15:42:25 -05:00
Charlie Marsh e2c4a098de Bump version to 0.0.142 2022-11-28 00:19:27 -05:00
Charlie Marsh e865f58426
Add all plugin options to README reference (#936) 2022-11-28 00:19:14 -05:00
Charlie Marsh ae2ac905dc
Document all top-level configuration options (#934) 2022-11-27 23:50:24 -05:00
Charlie Marsh 16da183f8e
Add some user testimonials (#932) 2022-11-27 21:55:01 -05:00
Charlie Marsh 3f689917cb
Use alternative TOML format for per-file-ignores in README (#931) 2022-11-27 21:38:43 -05:00
Charlie Marsh a4a215e8a3
Add Homebrew installation to README (#930) 2022-11-27 21:37:34 -05:00
Charlie Marsh aa1c884910 Tweak Flake8 parity in README 2022-11-27 21:34:47 -05:00
Oliver Margetts 7fb55c6d99
F50x implementation (#919) 2022-11-27 21:30:55 -05:00
Charlie Marsh 9897f81cf3 Bump version to 0.0.141 2022-11-26 16:33:08 -05:00
Denis Gavrilyuk 721a1e9443
Add flake8-debugger (#909) 2022-11-26 16:21:03 -05:00
Charlie Marsh 14cf36f922 Bump version to 0.0.140 2022-11-26 15:05:46 -05:00
Charlie Marsh 560558b814 Bump version to 0.0.139 2022-11-25 18:38:26 -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
Xuan (Sean) Hu 5a6b51e623
Minor changes in README. (#903) 2022-11-25 09:49:16 -05:00
Charlie Marsh 0b60242fb7 Bump version to 0.0.138 2022-11-25 00:05:41 -05:00
Charlie Marsh b50016fe89 Regenerate README.md 2022-11-24 18:10:07 -05:00
Harutaka Kawamura 33fbef7700
Implement B904 (#892) 2022-11-24 09:49:57 -05:00
Charlie Marsh 68668a584b Bump version to 0.0.137 2022-11-23 20:28:45 -05:00
Charlie Marsh 58aac21a36 Bump version to 0.0.136 2022-11-23 17:41:17 -05:00
Charlie Marsh 66975876b2 Bump version to 0.0.135 2022-11-22 19:21:53 -05:00
Charlie Marsh c3f6170503
Update README with list of projects (#874) 2022-11-22 14:28:02 -05:00
Andri Bergsson ce116a80ad
Automatically remove redundant open modes #640 (#843) 2022-11-21 16:06:41 -05:00
Charlie Marsh 1559671093 Target isort code in README.md 2022-11-21 13:38:01 -05:00
Charlie Marsh b1f9c7b6bd Update default complexity in README.md 2022-11-21 13:19:55 -05:00
Harutaka Kawamura 89980ad651
Implement autofix for B013 (#824) 2022-11-20 18:49:07 -05:00
Jonathan Plasse 7cab541343
Add convert exit() to sys.exit() rule (#816) 2022-11-20 18:09:40 -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
Harutaka Kawamura 13e8ed0a0a
Implement autofix for E731 (#814) 2022-11-19 19:51:41 -05:00
Charlie Marsh 0f34cdb7a3
Enable customization of autofixable error codes (#811) 2022-11-18 18:49:13 -05:00
Harutaka Kawamura e81efa5a3d
Implement a `--show-source` setting (#698) 2022-11-18 14:02:29 -05:00
Jonathan Plasse b74fd1fe13
Change error code of flake8-blind-except (#808) 2022-11-18 13:30:36 -05:00
Charlie Marsh 9c4d24a452 Add flake8-boolean-trap to README 2022-11-18 12:36:13 -05:00
pwoolvett 7a4449eacb
Add flake8-boolean-trap (#790) 2022-11-18 12:30:07 -05:00
Harutaka Kawamura 6ffe767252
Implement autofix for E713 and E714 (#804) 2022-11-18 12:16:11 -05:00
Jonathan Plasse 2f894e3951
Add flake8-blind-except (#805) 2022-11-18 12:15:10 -05:00
Martin Lehoux c5722d8a4d
Implement U013: Unnecessary TypedDict syntactic form (#716) 2022-11-18 12:10:47 -05:00
Jonathan Plasse c2d6307e9b
Add missing plugins in some sections of README.md (#802) 2022-11-18 09:28:33 -05:00
Edgar R. M f44fada446
Implement C901 (mccabe) (#765) 2022-11-17 17:40:50 -05:00
Charlie Marsh aafddae644 Bump version to 0.0.125 2022-11-17 12:07:05 -05:00
Charlie Marsh 749df87de0
Tweak presentation of `null-ls` and `efm` docs (#791) 2022-11-17 12:04:11 -05:00
Eddie Bergman d67db33f22
docs(integrations): neovim `null-ls` integration (#782) 2022-11-17 11:55:08 -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 ecf858cf16
Add the tools identifier in the TOC (#779) 2022-11-17 11:34:32 -05:00
Jonathan Plasse 8063aee006
Remove unnecessary abspath rule (U002) (#781) 2022-11-17 11:29:42 -05:00
Harutaka Kawamura 1821c07367
Implement B020 (#753) 2022-11-15 16:17:03 -05:00
Charlie Marsh 0d3fac1bf9
Add --line-length command line argument (#759) 2022-11-15 12:23:38 -05:00
Edgar R. M 85b2a9920f
docs: Add `flake8-bandit` to ToC (#750) 2022-11-15 00:11:39 -05:00
Brett Cannon 58bcffbe2d
Add isort to the README's ToC (#745) 2022-11-14 18:51:39 -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 29ae6c159d
Add FastAPI to README (#730) 2022-11-13 22:27:35 -05:00
Brett Cannon d2d84cf5bf
Fix Markdown in README (#727) 2022-11-13 15:19:25 -05:00
Charlie Marsh a310aed128 Bump version to 0.0.116 2022-11-13 13:46:05 -05:00
Harutaka Kawamura 84bf36194b
Implement B012 (#718) 2022-11-13 11:55:33 -05:00
Harutaka Kawamura e4d168bb4f
Implement B021 (#719) 2022-11-13 11:40:24 -05:00
Charlie Marsh 439642addf Regenerate README 2022-11-13 10:55:14 -05:00
Charlie Marsh 8f99705795 Make some error messages more grammatically consistent 2022-11-12 16:57:23 -05:00
Charlie Marsh 9ec7e6bcd6 Add function name to B008 message 2022-11-12 16:53:13 -05:00
Charlie Marsh 695b06ba60 Bump version to 0.0.115 2022-11-12 16:46:26 -05:00
Edgar R. M 1b422a7f12
Add `flake8-bandit` (#697) 2022-11-12 12:04:49 -05:00
Charlie Marsh da051624e4 Add backticks around functools.lru_cache 2022-11-12 11:56:23 -05:00
Charlie Marsh da9ae6a42a Bump version to 0.0.114 2022-11-12 11:55:18 -05:00
Martin Lehoux afa59d78bb
feat: no unnecessary encode utf8 (#686) 2022-11-12 11:54:36 -05:00
Chammika Mannakkara 6bcc11a90f
add fixes for __future__ import removal (#682) 2022-11-12 11:28:05 -05:00
Harutaka Kawamura 6f36e5dd25
Implement B019 (#695) 2022-11-12 11:14:03 -05:00
Charlie Marsh a21fe716f2 Bump version to 0.0.113 2022-11-11 22:42:02 -05:00
Anders Kaseorg 5a8b7c1d20
Implement flake8-2020 (sys.version, sys.version_info misuse) (#688) 2022-11-11 20:39:37 -05:00
Charlie Marsh 2e7878ff48 Bump version to 0.0.112 2022-11-11 17:13:04 -05:00
Charlie Marsh 560c00ff9d Bump version to 0.0.111 2022-11-11 12:38:23 -05:00
Charlie Marsh 4123ba9851 Add backticks around setattr 2022-11-11 11:08:22 -05:00
Harutaka Kawamura e727c24f79
Implement autofix for B009 (#684) 2022-11-11 11:06:47 -05:00
Harutaka Kawamura bd3b40688f
Implement B010 (#683) 2022-11-11 10:26:37 -05:00
Charlie Marsh b5549382a7
Clarify a few settings for isort behavior (#676) 2022-11-10 23:19:51 -05:00
Charlie Marsh 8cf745045f Bump version to 0.0.110 2022-11-10 19:22:45 -05:00
Charlie Marsh 3cc74c0564
Implement import sorting (#633) 2022-11-10 19:05:56 -05:00
Harutaka Kawamura 1888f6d41b
Implement B009 (#669) 2022-11-10 13:52:20 -05:00
Charlie Marsh 9d8cd2d2fe Bump version to 0.0.109 2022-11-10 10:54:27 -05:00
Harutaka Kawamura 05c19f0091
Implement B026 (#668) 2022-11-10 10:47:42 -05:00
Chammika Mannakkara ff0f5968fa
Detect unnecessary params in `lru_cache` (#664) 2022-11-09 10:02:48 -05:00
Charlie Marsh 1347b7ebb6
Add notes to README on editor integrations (#655) 2022-11-08 16:12:42 -05:00
Charlie Marsh f572acab30 Bump version to 0.0.108 2022-11-08 13:20:35 -05:00
Edgar R. M 24aa177912
Implement ANN401 (#657) 2022-11-08 09:49:44 -05:00
Reiner Gerecke 2ddc768412
Implement fix for C404 (#656) 2022-11-08 09:37:17 -05:00
Chammika Mannakkara 0f9508f549
Remove unnecessary __future__ imports (#634) 2022-11-07 22:26:57 -05:00
Charlie Marsh 7c3d387abd
Implement confusing unicode character detection for comments (#653) 2022-11-07 21:16:34 -05:00
Charlie Marsh 43383bb696 Bump version to 0.0.107 2022-11-07 16:39:03 -05:00
Charlie Marsh 16c5ac1e91 Bump version to 0.0.106 2022-11-07 15:32:54 -05:00
Charlie Marsh da39cddccb
Include function and argument names in ANN checks (#648) 2022-11-07 15:27:03 -05:00
Charlie Marsh de6435f41d
Add a flake8-to-ruff mention (#644) 2022-11-07 10:59:47 -05:00
Charlie Marsh 589ae48f8c Update --help 2022-11-07 10:41:04 -05:00
Harutaka Kawamura 35cc3094b5
Implement B005 (#643) 2022-11-07 10:10:59 -05:00
Harutaka Kawamura 7773e9728b
Implement B004 (#638) 2022-11-07 09:25:09 -05:00
Charlie Marsh 7f77ed0f86 Bump version to 0.0.105 2022-11-06 21:17:00 -05:00
Charlie Marsh 99d9aa61bf
Implement flake8-annotations (#625) 2022-11-06 17:25:49 -05:00
Charlie Marsh 050f34dd25 Bump version to 0.0.104 2022-11-06 15:31:10 -05:00
Reiner Gerecke 1ede377402
Improve discoverability of dev commands (#621) 2022-11-06 14:25:59 -05:00
Reiner Gerecke 82eff641fb
Remove utf-8 encoding declaration (#618) 2022-11-06 14:23:06 -05:00
Reiner Gerecke df88504dea
pyflakes F632 Autofix (#612) 2022-11-06 06:57:46 -05:00
Charlie Marsh 22cfd03b13 Bump ruff_dev to v0.0.103 2022-11-05 19:53:27 -04:00
Anders Kaseorg 95073b1586
Fix “Code” misspelling (#614) 2022-11-05 19:28:52 -04:00
Charlie Marsh 3597a94818
Add a README link to each plugin (#611) 2022-11-05 16:18:27 -04:00
Charlie Marsh de53b567f5
Add a list of projects using Ruff (#608) 2022-11-05 16:03:10 -04:00
Charlie Marsh 2e1799dd80
Automatically update README.md from generate_rules_table.rs (#606) 2022-11-05 15:33:47 -04:00
Charlie Marsh b335a6a5ec Bump version to 0.0.102 2022-11-05 14:13:02 -04:00
Charlie Marsh f5cbee452a Increase flake8-bugbear count to 15/32 2022-11-05 14:12:35 -04:00
Harutaka Kawamura 62c126f70e
Implement B003 (#596) 2022-11-05 14:08:02 -04:00
Harutaka Kawamura 8344d5151c
Implement B016 (#595) 2022-11-05 14:06:00 -04:00
Harutaka Kawamura f7780eb720
Implement B008 (#594) 2022-11-05 14:05:04 -04:00
Charlie Marsh fbdc075e5c
Change Ruff's error prefix to RUF (#592) 2022-11-04 23:13:50 -04:00
Charlie Marsh d3472104d0 Bump flake8-bugbear count to 12/32 2022-11-04 14:49:14 -04:00
Charlie Marsh 0c8b981216 Bump version to 0.0.101 2022-11-04 14:46:48 -04:00
Charlie Marsh 0e3f08aa68
Split ambiguous unicode detection into string vs. docstring rules (#590) 2022-11-04 14:46:20 -04:00
Harutaka Kawamura 726e6c68cf
Implement B015 (#587) 2022-11-04 13:47:52 -04:00
Charlie Marsh 34c91224d7 Bump version to 0.0.100 2022-11-04 12:10:17 -04:00
Charlie Marsh 50c4bbc52b
Implement ambiguous unicode character detection (#578) 2022-11-04 12:08:26 -04:00
Charlie Marsh c92f5c14a3
Bump Rust version to 1.65.0 (#575) 2022-11-03 22:49:21 -04:00
Charlie Marsh cc915371ca
Implement autofix for F901 (#571) 2022-11-03 11:58:54 -04:00
Charlie Marsh 5576db3d5a Bump version to 0.0.99 2022-11-03 11:47:15 -04:00
Charlie Marsh f26f38d023
Enable autofix for C406 (#570) 2022-11-03 11:27:46 -04:00
Charlie Marsh 578ec4d843
Implement autofix for C416 (#568) 2022-11-03 11:05:08 -04:00
Charlie Marsh 22991e3e0e Bump version to 0.0.98 2022-11-03 10:09:33 -04:00
Charlie Marsh 9f9cbb5520 Improve pyproject.toml examples in README.md 2022-11-03 09:33:17 -04:00
Charlie Marsh e00bcd19f5 Bump version to 0.0.97 2022-11-02 22:38:43 -04:00
Charlie Marsh e473df1fe9 Bump version to 0.0.96 2022-11-02 22:10:56 -04:00
Charlie Marsh 6a180b95d1
Implement autofix for dict and tuple comprehensions (#555) 2022-11-02 21:36:20 -04:00
Charlie Marsh 9948be0145
Automatically fix a variety of comprehension rules (#553) 2022-11-02 20:39:35 -04:00
Charlie Marsh f9def0a139 Bump version to 0.0.95 2022-11-02 09:03:34 -04:00
StefanBRas d4fc485a76
Update README.md to use table for per-file-ignore (#549) 2022-11-02 09:02:11 -04:00
Charlie Marsh 878a94f9cb
Add a rust-toolchain.toml file (#538) 2022-11-01 20:34:58 -04:00
Charlie Marsh 79ca66ace5
Use nightly rustfmt with rustfmt.toml (#536) 2022-11-01 20:34:38 -04:00
Charlie Marsh 2d83f99dbf Bump version to 0.0.94 2022-11-01 16:38:59 -04:00
Charlie Marsh 062c41b6f5 Bump version to 0.0.93 2022-10-31 09:20:39 -04:00
Charlie Marsh 138b06c98a Bump version to 0.0.92 2022-10-30 18:04:30 -04:00
Charlie Marsh dcedb801e5
Tweak a few check messages (#520) 2022-10-30 13:13:37 -04:00
Charlie Marsh dfa5a4f0f7 Fix 9/32 flake8-bugbear reference 2022-10-30 13:03:39 -04:00
Harutaka Kawamura 7ecbfe4f6a
Implement B006 (#515) 2022-10-30 12:57:57 -04:00
Charlie Marsh f84c1f1fa1 Bump version to 0.0.91 2022-10-29 18:49:26 -04:00
Charlie Marsh 5a3f06bab1 Bump version to 0.0.90 2022-10-29 18:34:38 -04:00
Anders Kaseorg fa9b10be72
Remove leading space from C416 message (#508) 2022-10-29 17:40:50 -04:00
Charlie Marsh 80b00cc89f
Add error code categories to table of contents (#504) 2022-10-29 16:39:55 -04:00
Charlie Marsh 934db3d179 Bump version to 0.0.89 2022-10-29 15:39:17 -04:00
Charlie Marsh 6a040a0405 Update checks_gen.rs 2022-10-29 15:39:02 -04:00
Harutaka Kawamura 2821ef0f69
Implement B013 (#503) 2022-10-29 15:36:29 -04:00
Harutaka Kawamura 3fc257f71b
Implement N806, 815, 816, 818 (#501) 2022-10-29 15:35:56 -04:00
Charlie Marsh 6dbb0a17e9 Update README to reflect selection groups 2022-10-28 19:15:46 -04:00
Charlie Marsh ae5ad6a4ac Bump version to 0.0.88 2022-10-28 19:11:04 -04:00
Charlie Marsh 9a799eb4e6 Bump version to 0.0.87 2022-10-28 19:00:03 -04:00
Charlie Marsh 86265c1d7c
Implement the `flake8-quotes` plugin (#495) 2022-10-28 17:52:11 -04:00
Trevor Gross 2e63bb6dcb
Update hook id in README and in .pre-commit-config.yaml (#492) 2022-10-27 17:32:52 -04:00
Charlie Marsh 1b5db80b32 Update pre-commit invocation in README.md 2022-10-27 17:19:22 -04:00
Charlie Marsh 3f20cea402 Bump version to 0.0.86 2022-10-27 13:09:57 -04:00
Charlie Marsh bad2d7ba85
Add example of per-file ignores to the README (#488) 2022-10-27 12:58:52 -04:00
Charlie Marsh 05fbd1a283 Bump version to 0.0.85 2022-10-26 19:13:04 -04:00
Charlie Marsh 63552cbc8e
Implement W605 (invalid escape sequence) (#482) 2022-10-26 19:10:24 -04:00
Charlie Marsh a9bcc15797 Bump version to 0.0.84 2022-10-26 12:01:55 -04:00
Charlie Marsh b6c856bd07
Implement B007 (unused loop control variable) (#473) 2022-10-26 12:01:27 -04:00
Charlie Marsh e7472eac1c Increment flake8-bugbear to 8/32 2022-10-25 21:54:00 -04:00
Charlie Marsh db3c847771 Bump version to 0.0.83 2022-10-25 21:24:13 -04:00
Charlie Marsh 4adbfc24a5 Increment flake8-bugbear to 6/32 2022-10-25 21:23:13 -04:00
Charlie Marsh 8f734a6562
Implement B002 (unary prefix increment) (#468) 2022-10-25 21:10:51 -04:00
Charlie Marsh bcf7519eb3
Implement B017 (no assertRaises(Exception)) (#467) 2022-10-25 20:55:00 -04:00
Heyward Fann 66089052ee
chore: typo on #283 link (#464) 2022-10-25 08:02:11 -04:00
Charlie Marsh f8dc208665 Tweak messages for pep8-naming rules 2022-10-21 17:06:16 -04:00
Charlie Marsh c72b8e8d1e Bump version to 0.0.82 2022-10-21 12:15:19 -04:00
Harutaka Kawamura b108c693fa
Implement N811, 812, 813, 814, and 817 (#457) 2022-10-20 12:20:44 -04:00
Harutaka Kawamura aac1912ea7
Implement N807 (#456) 2022-10-20 11:12:02 -04:00
Charlie Marsh 3dcd26aac3 Add SectionUnderlineAfterName to autofix list 2022-10-17 22:08:49 -04:00
Charlie Marsh e53b9807f6 Bump version to 0.0.81 2022-10-17 21:43:49 -04:00
Charlie Marsh 36fe8b76d4
Enable autofix for over- and under-indented docstrings (#451) 2022-10-17 21:43:38 -04:00
Charlie Marsh f832f88c75
Implement autofix support for D214, D405, D406, and D416 (#450) 2022-10-17 17:37:20 -04:00
Charlie Marsh 659a28de02 Bump version to 0.0.80 2022-10-17 17:02:44 -04:00
Charlie Marsh 206e6463be
Implement autofix for more docstring-related rules (#448) 2022-10-17 16:56:47 -04:00
Charlie Marsh 3477f5664a Fix README link to near-parity 2022-10-17 11:57:07 -04:00
Charlie Marsh cf0d198365 Bump version to 0.0.79 2022-10-16 21:39:01 -04:00
Charlie Marsh 6ee3075867 Bump version to 0.0.78 2022-10-16 21:28:25 -04:00
Charlie Marsh cc8a945cbf
Tweak messages for flake8-comprehensions rules (#444) 2022-10-16 21:27:13 -04:00
Charlie Marsh 1a1922b3fc
Re-add the fix icon to README.md (#443) 2022-10-16 21:21:30 -04:00
Charlie Marsh bd4394aa89 Capitalize pep8-naming messages 2022-10-16 17:58:26 -04:00
Charlie Marsh 56f69ce71e Bump version to 0.0.77 2022-10-16 13:43:52 -04:00
Charlie Marsh e79766d5ec Use backticks for pep8-naming messages 2022-10-16 12:09:07 -04:00
Harutaka Kawamura c55fd76743
Implement N801 ~ N805 (#439) 2022-10-16 11:58:39 -04:00
Charlie Marsh e2aedc5ba8 Bump version to 0.0.76 2022-10-15 17:22:12 -04:00
Charlie Marsh cb138526b1 Add a note on pydocstyle 2022-10-15 17:05:18 -04:00
Charlie Marsh 8eac270d8f Add an FAQ 2022-10-15 16:52:20 -04:00
Charlie Marsh 6e19fd20bb Add table of contents 2022-10-15 16:37:52 -04:00
Charlie Marsh 10868445f5 Use H3 for rules sections 2022-10-15 16:33:26 -04:00
Charlie Marsh e3ecf21287
Break rules table into sections (#437) 2022-10-15 16:29:08 -04:00
Charlie Marsh fd849e112e
Remove checkmark from rule table (#436) 2022-10-15 11:28:32 -04:00
Charlie Marsh 3ab1cfc6f8 Make some improvements to the README 2022-10-14 17:30:40 -04:00
Charlie Marsh 3e8ef5b40f Bump version to 0.0.75 2022-10-14 14:42:57 -04:00
Charlie Marsh 3c15c578a7
Implement D206, D207, and D208 (#429) 2022-10-14 13:26:36 -04:00
Charlie Marsh 6a8e31b2ff Bump version to 0.0.74 2022-10-14 12:36:44 -04:00
Harutaka Kawamura b64040cbb2
Implement C417 (#426) 2022-10-14 12:34:00 -04:00
Charlie Marsh 952a0eb4e3
Implement checks for Google-style docstrings (#427) 2022-10-14 11:53:29 -04:00
Charlie Marsh 3e28d6de04 Bump version to 0.0.73 2022-10-14 10:18:42 -04:00
Charlie Marsh 9bbfd1d3b2
Implement docstring argument tracking for NumPy-style docstrings (#425) 2022-10-14 10:18:07 -04:00
Charlie Marsh 6b286e9bc1
Add --config as a command-line option (#422) 2022-10-13 18:13:41 -04:00
Harutaka Kawamura bcddd9e97f
Implement C413 (#421) 2022-10-13 11:15:41 -04:00
Harutaka Kawamura 3e789136af
Implement C411 (#420) 2022-10-13 09:48:27 -04:00
Harutaka Kawamura 07ef3b8754
Implement C416 (#415) 2022-10-13 08:34:33 -04:00
Charlie Marsh 46e1b16472 Bump version to 0.0.72 2022-10-12 22:43:29 -04:00
Charlie Marsh 2f69be0d41 Bump version to 0.0.71 2022-10-12 17:14:28 -04:00
Charlie Marsh 167992ad48
Implement D407, D408, D409, D412, and D414 (#413) 2022-10-12 17:12:54 -04:00
Charlie Marsh f0dab24079
Implement D405, D406, D410, D411, and D413 (#411) 2022-10-12 16:31:14 -04:00
Charlie Marsh 77055faab6
Implement D404 and D418 for pydocstyle (#409) 2022-10-12 13:20:55 -04:00
Charlie Marsh e08e1caf71 Bump version to 0.0.70 2022-10-12 12:59:14 -04:00
Harutaka Kawamura 0072dfd81e
Implement C414 (#406) 2022-10-12 12:58:46 -04:00
Charlie Marsh 688fc0cd02
Implement docstring visibility checks (#408) 2022-10-12 12:46:40 -04:00
Charlie Marsh 590aa92ead
Implement D201, D202, D203, D204, and D211 (#404) 2022-10-11 21:08:30 -04:00
Charlie Marsh 8868f57a74
Implement D402 for pydocstyle (#403) 2022-10-11 13:19:56 -04:00
Charlie Marsh 2ff964107c
Add D212, D213, D300, D403, and D415 (#400) 2022-10-11 12:48:23 -04:00
Charlie Marsh 209dce2033 Fix missing backtick 2022-10-10 17:23:58 -04:00
Charlie Marsh 90d88dfb10 Make pyupgrade tally more precise 2022-10-10 17:18:20 -04:00
Charlie Marsh 4e9fb9907a
Implement D205, D209, and D210 (#398) 2022-10-10 16:49:51 -04:00
Charlie Marsh 30877127bc
Implement D400 (DocstringEndsInNonPeriod) (#396) 2022-10-10 15:35:23 -04:00
Charlie Marsh 8b66bbdc9b Regenerate rules table 2022-10-10 15:18:18 -04:00
Charlie Marsh 42cec3f5a0 Regenerate rules table 2022-10-10 14:02:31 -04:00
Charlie Marsh 35f593846e
Implement B014 from flake8-bugbear (#392) 2022-10-10 12:53:42 -04:00
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
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
Harutaka Kawamura f060248656
Fix collapsed message (#372) 2022-10-09 13:01:36 -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 2bba643dd2
Use strum to facilitate simple enum serialization (#367) 2022-10-08 17:47:25 -04:00
Harutaka Kawamura 5ccd907398
Implement C408 (#364) 2022-10-08 17:17:34 -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
Steven Maude 95dfc61315
Update GitHub Actions versions in README (#358) 2022-10-07 20:24:00 -04:00
Charlie Marsh 99c66d513a
Rename refactor checks to upgrade checks (#354) 2022-10-07 16:54:55 -04:00
Charlie Marsh 04ade6a2f3 Update README.md 2022-10-07 16:50:17 -04:00
Charlie Marsh 0b9eda8836
Add target Python version as a configurable setting (#344) 2022-10-07 14:54:50 -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
Charlie Marsh 4eac7a07f5 Mention flake8-comprehensions in README 2022-10-06 16:26:21 -04:00
Harutaka Kawamura 5141285c8e
Implement C403 (#335) 2022-10-06 16:24:23 -04:00
Charlie Marsh fdb32330a9
Implement __metaclass__ = type removal (#324) 2022-10-04 14:31:52 -04:00
Charlie Marsh 295ff8eb1a
Add autofix and default status to README (#322) 2022-10-04 12:30:35 -04:00
Parth Shandilya 2449771d2f
Fix the broken link to contribution guidelines (#321) 2022-10-04 11:10:10 -04:00
Charlie Marsh c901742244
Add plugins mention to README (#309) 2022-10-03 17:23:53 -04:00
Charlie Marsh 7e4faf4b69
Implement flake8-print (#308) 2022-10-03 17:19:56 -04:00
Charlie Marsh 75d669fa86 Update check ordering 2022-09-30 09:14:41 -04:00
Nikita Sobolev 20989e12ba
Implement `flake8-super` check (#291) 2022-09-30 09:12:09 -04:00
Charlie Marsh 5a1b6c32eb
Add CONTRIBUTING.md (#288) 2022-09-30 07:51:30 -04:00
Charlie Marsh 46bdcb9080 Add instructions on GitHub Actions integration 2022-09-29 19:05:02 -04:00
Charlie Marsh d16a7252af Add instructions on PyCharm integration 2022-09-29 18:52:45 -04:00
Charlie Marsh 7470d6832f Add pattern matching limitation to README.md 2022-09-29 16:39:25 -04:00
Heyward Fann 643e27221d
chore: fix eslint fix link (#281) 2022-09-29 07:15:07 -04:00
Charlie Marsh e2ec62cf33
Misc. follow-up changes to #272 (#278) 2022-09-28 22:15:58 -04:00
Charlie Marsh 949e4d4077 Bump version to 0.0.46 2022-09-24 13:10:10 -04:00
Charlie Marsh c8cb2eead2 Remove README note about noqa patterns 2022-09-24 13:09:45 -04:00
Seamooo 02ae494a0e
Enable per-file ignores (#261) 2022-09-24 13:02:34 -04:00
Charlie Marsh b8f517c70e Bump version to 0.0.45 2022-09-22 14:11:09 -04:00
Charlie Marsh 9f601c2abd Document noqa workflows 2022-09-22 14:10:02 -04:00
Charlie Marsh 9594079235
Add --extend-select and --extend-ignore (#254) 2022-09-21 19:56:43 -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 1e171ce0e8 Bump version to 0.0.44 2022-09-21 12:25:14 -04:00
Charlie Marsh f453e429b6 Add a note on parity 2022-09-21 12:24:04 -04:00
Charlie Marsh 73874f4788 Remove proof-of-concept caveat 2022-09-21 12:18:01 -04:00
Charlie Marsh 8846dcdf6a Update README 2022-09-21 12:17:41 -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
Charlie Marsh e4f571ea61 Bump version to 0.0.43 2022-09-20 12:26:49 -04:00
Charlie Marsh a4869e4974 Update benchmark in README 2022-09-20 07:06:12 -06:00
Charlie Marsh f53c4fc221 Bump version to 0.0.42 2022-09-19 21:14:17 -06:00
Charlie Marsh 3892a49a97 Bump version to 0.0.41 2022-09-19 21:09:33 -06:00
Charlie Marsh 27cc7e236c
Use a separate repo for pre-commit (#229) 2022-09-19 21:06:39 -06:00
Charlie Marsh fa0954fe47
Treat relative excludes as relative to project root (#228) 2022-09-19 20:45:02 -06:00
Charlie Marsh a0b50d7ebc
Use absolute paths for exclusion matching (#213) 2022-09-19 20:32:31 -06:00
Harutaka Kawamura cf6a23b83c
Add `--version` flag (#222) 2022-09-18 09:15:15 -06:00
Charlie Marsh 8e903153f6 Update README to include more badges 2022-09-16 12:18:03 -06:00
Charlie Marsh 3937885f37 Bump version to 0.0.40 2022-09-16 04:57:21 -04:00
Charlie Marsh 06e5b3e457 Bump version to 0.0.39 2022-09-15 21:41:14 -04:00
Charlie Marsh 9d4a4478f7
Improve exclusion syntax to match exact files (#209) 2022-09-15 21:40:49 -04:00
Patrick Haller 17b3109a8b
Update docs with --format flag (#205) 2022-09-15 16:04:07 -04:00
Charlie Marsh a2df89dedd Bump version to 0.0.38 2022-09-14 22:38:42 -04:00
Charlie Marsh b8f12d2e79
Raise error when failing to parse (#199) 2022-09-14 22:37:55 -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
Dmitry Dygalo b7e2a4b9a9
feat: Implement `InvalidPrintSyntax` (`F633`) (#182) 2022-09-13 21:10:20 -04:00
Charlie Marsh 5f77b420cd Bump version to 0.0.37 2022-09-12 21:35:08 -04:00
Charlie Marsh 90f9e60517
Implement F722 (#175) 2022-09-12 21:34:27 -04:00
Charlie Marsh dfba1416b2
Implement F406 (#172) 2022-09-12 16:47:30 -04:00
Charlie Marsh a129e27b3e Tweak rule counts 2022-09-12 15:26:21 -04:00
Charlie Marsh ad7daa008e Update README to enumerate missing Flake8 rules 2022-09-12 15:24:32 -04:00
Charlie Marsh 062d7081a0 Bump version to 0.0.36 2022-09-12 11:16:26 -04:00
Charlie Marsh 40c1e7e005
Implement F701 and F702 (#169) 2022-09-12 11:16:08 -04:00
Charlie Marsh 3cbd05ddff Update README 2022-09-12 09:31:16 -04:00
Charlie Marsh 546be5692a Bump version to 0.0.35 2022-09-11 21:54:00 -04:00
Charlie Marsh 43e1f20b28
Allow unused assignments in for loops and unpacking (#163) 2022-09-11 21:53:45 -04:00
Harutaka Kawamura 97388cefda
Implement E743 (#162) 2022-09-11 21:27:33 -04:00
Harutaka Kawamura 63ce579989
Implement E742 (#160) 2022-09-11 20:27:48 -04:00
Charlie Marsh 5f4a62aa40 Bump version to 0.0.34 2022-09-11 18:05:52 -04:00
Charlie Marsh 02ab52b3e2
Implement F407 (#158) 2022-09-11 18:05:28 -04:00
Charlie Marsh 549732b1da
Implement F404 (#159) 2022-09-11 18:05:00 -04:00
Harutaka Kawamura c4565fe0f5
Implement E741 (#137) 2022-09-11 12:30:28 -04:00
Charlie Marsh 81ae3bfc94 Bump version to 0.0.33 2022-09-11 10:45:02 -04:00
Charlie Marsh 18a26e8f0b
Allow setting --exclude on the command-line (#157) 2022-09-11 10:44:23 -04:00
Jakub Kuczys 989ed9c10b
Fix ruff's pyproject.toml section name in README.md (#148) 2022-09-11 10:18:19 -04:00
Charlie Marsh 8698c06c36 Bump version to 0.0.32 2022-09-10 15:21:01 -04:00
Charlie Marsh 024472d578
Implement F621 and F622 (#143) 2022-09-10 15:04:33 -04:00
Charlie Marsh 4fc68e0310 Bump version to 0.0.31 2022-09-10 13:05:15 -04:00
Charlie Marsh 7c17785eac Bump version to 0.0.30 2022-09-08 11:42:45 -04:00
Charlie Marsh 5deb63a05f
Implement F601 and F602 (#122) 2022-09-07 12:57:50 -04:00
Charlie Marsh 5e9ea8bda2 Add documentation on parity with Flake8 2022-09-07 10:32:28 -04:00
Charlie Marsh 55d1f34bae Bump version to 0.0.29 2022-09-06 22:14:12 -04:00
Charlie Marsh b44d6c2c44 Bump version to 0.0.28 2022-09-06 14:20:02 -04:00
Charlie Marsh c1eeae90f1 Bump version to 0.0.27 2022-09-06 10:23:48 -04:00
Charlie Marsh 27025055ee
Implement E713 and E714 (#111) 2022-09-06 10:23:20 -04:00
Charlie Marsh e306fe0765
Implement E711 and E712 (#110) 2022-09-06 10:14:36 -04:00
Harutaka Kawamura 5ffb9c08d5
Implement E731 (#109) 2022-09-06 09:48:51 -04:00
Charlie Marsh 1a8940f015
Implement E902 (IOError) (#107) 2022-09-05 13:15:12 -04:00
Charlie Marsh 45db571935 Bump version to 0.0.26 2022-09-05 12:28:27 -04:00
Charlie Marsh 198e5cf27f
Implement R002 (NoAssertEquals) (#98) 2022-09-05 12:27:47 -04:00
Charlie Marsh 79b6472c7c Add a note RE Black compat 2022-09-05 12:27:39 -04:00
Charlie Marsh f902d25dc7
Implement ESLint-style fix for R0205 (#97) 2022-09-05 12:16:06 -04:00
Charlie Marsh 3cf9e3b201
Implement E402 (ModuleImportNotAtTopOfFile) (#102) 2022-09-04 16:20:36 -04:00
Charlie Marsh 533b4e752b Reduce ignores in CPython benchmark 2022-09-04 16:13:35 -04:00
Harutaka Kawamura b86414dc7a
Implement F707 (DefaultExceptNotLast) (#101) 2022-09-04 11:55:06 -04:00
Charlie Marsh 8f6ab8b37a Fix formatting of some rule messages 2022-09-04 09:52:31 -04:00
Harutaka Kawamura 312bfd8d2b
Implement F631 (AssertTuple) (#99) 2022-09-04 08:39:49 -04:00
Charlie Marsh 4319bd1755 Bump version to 0.0.25 2022-09-03 12:09:11 -04:00
Charlie Marsh 6bb6cb1783
Implement F822 (#94) 2022-09-03 12:08:26 -04:00
Charlie Marsh e9412c9452
Generate a list of supported lint rules (#93) 2022-09-03 11:56:11 -04:00
Charlie Marsh 94faa7f301
Rename resources/test/src to resources/test/fixtures (#92) 2022-09-03 11:49:03 -04:00
Charlie Marsh 26e1f4b6df Bump version to 0.0.24 2022-09-02 10:18:40 -04:00
Ariel Richtman 4f42f51bd2
Add pre-commit hook (#55) 2022-09-01 13:01:28 -04:00
Kian-Meng Ang b442402b13
Prettify md/yaml files (#74) 2022-09-01 12:36:47 -04:00
Charlie Marsh dd759e4730 Update graph 2022-08-30 13:41:30 -04:00
Charlie Marsh 641ff8452e Tweak README 2022-08-30 09:23:15 -04:00
Charlie Marsh 6c5845922f Remove caveat from README 2022-08-29 22:09:22 -04:00
Charlie Marsh 07ed1e3b01 Cut abi3-compatible wheels 2022-08-29 21:57:47 -04:00
Charlie Marsh 6d53d47bc6 Update benchmark 2022-08-29 21:51:08 -04:00
Charlie Marsh 37401bdfb0
Build wheels for Linux (#42) 2022-08-29 17:13:08 -04:00
Charlie Marsh 847cbd0880 Fix forward annotations (#41) 2022-08-29 12:44:32 -04:00
Charlie Marsh 2e83f7b124 Restructure binary 2022-08-29 11:54:40 -04:00
Charlie Marsh 69d193d066 Add benchmark graph 2022-08-29 10:16:09 -04:00
Charlie Marsh 965578e7b2 Cut a release 2022-08-28 14:38:44 -04:00
Charlie Marsh 91e24ebd73 More README 2022-08-28 14:32:35 -04:00
Charlie Marsh ea9fde14f6 Fix pyproject.toml key 2022-08-28 14:22:19 -04:00
Charlie Marsh 6c8794692b Tweak README 2022-08-27 21:10:44 -04:00
Charlie Marsh 2f266e5e20 Add project metadata 2022-08-27 20:40:40 -04:00
Charlie Marsh c52fdfa748
Rename to ruff (#29) 2022-08-27 18:30:30 -04:00
Charlie Marsh 5a5e60dd44 Update to Python 3.10 2022-08-27 18:19:28 -04:00
Charlie Marsh a5533d62e1 Enable benchmark for existing tools 2022-08-27 12:15:54 -04:00
Charlie Marsh 95ee62448b
Add support for match case (#24) 2022-08-21 14:51:48 -04:00
Charlie Marsh b11a7eefa3
Enable excludes (#18) 2022-08-20 13:00:58 -04:00
Charlie Marsh b7d7c50b2b
Add benchmarking (#16) 2022-08-19 15:38:43 -04:00
Charlie Marsh 8091beca89
Implement visitor pattern (#4) 2022-08-12 17:53:31 -04:00
Charles Marsh 5378c85697 Minor fixes to Maturin packaging 2022-08-10 19:29:25 -04:00
Charlie Marsh 36efdfe7b4
Enable Maturin (#1) 2022-08-10 15:42:29 -04:00
Charles Marsh 211849901c Add another check 2022-08-09 22:36:29 -04:00
Charles Marsh bd2e159ceb Amend README.md 2022-08-09 13:23:59 -04:00
Charles Marsh 0d8e4bd6e9 Initial commit for linter prototype 2022-08-09 13:19:19 -04:00