Commit Graph

12775 Commits

Author SHA1 Message Date
Charlie Marsh 1d1662cb9c Bump version to 0.0.159 2022-12-05 11:22:02 -05:00
Charlie Marsh 55ce7bd0df
Migrate invalid_literal_comparisons fix to token-based logic (#1065) 2022-12-05 11:16:59 -05:00
Charlie Marsh e695f6eb25
Avoid false-positive on PLR1701 for multi-type isinstance calls (#1063) 2022-12-05 10:07:05 -05:00
messense fb2c457a9b
Upgrade to notify 5.0.0 (#1048) 2022-12-05 09:58:42 -05:00
Jeong YunWon 523cf62eda
Style fixes (#1049) 2022-12-05 09:57:48 -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 0685af8a4f
Update RustPython (#1045) 2022-12-04 20:09:28 -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 0c9c6a1c1c Remove extraneous test file 2022-12-04 13:59:55 -05:00
Charlie Marsh 46a99243cd
Fix D205 autofix by detecting summary line (#1041) 2022-12-04 13:56:51 -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
Charlie Marsh 1d61db5b62
Allow import builtins under T100 (#1037) 2022-12-04 10:13:17 -05:00
Charlie Marsh e15c0c68cb Fix PLW0120 snapshot 2022-12-04 10:10:00 -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
Harutaka Kawamura 21cace0973
Fix `PLR0402` (#1024) 2022-12-04 09:13:47 -05:00
Jakub Kuczys 4994b72ba2
Fix README header links in isort config section (#1033) 2022-12-04 09:12:25 -05:00
Anders Kaseorg dbb1a6e44b
Remove sloppy match_name_or_attr helper (#1027) 2022-12-04 09:12:03 -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 d069054792 Rename RUF101 fixtures 2022-12-03 22:47:16 -05:00
Charlie Marsh c659cb86d9
Rename RUF101 to RUF004 (#1020) 2022-12-03 22:46:13 -05:00
Charlie Marsh 8a3f29497b
Add backwards compatible redirect map for `U`-to-`UP` rename (#1019) 2022-12-03 22:43:00 -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 f92cc7a159
Fix clippy errors on main (#1010) 2022-12-03 10:02:36 -05:00
Harutaka Kawamura ebd2181946
Implement `unnecessary-direct-lambda-call` (#1008) 2022-12-03 09:59:04 -05:00
Harutaka Kawamura 3efa1a03f2
Fix `match_like_matches_macro` in `src/pylint/plugins.rs` (#1007) 2022-12-03 00:21:32 -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
Charlie Marsh 4722885910
Avoid recursing on nested deferred annotations (#1000)
Parse nested deferred annotations
2022-12-02 13:22:39 -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 4a4082cf0e
Track type definitions and annotations separately (#992) 2022-12-01 22:31:20 -05:00
Charlie Marsh 18b9fbd71e
Improve docstring checks with empty trailing lines (#991) 2022-12-01 20:15:44 -05:00
Charlie Marsh d699bb7b86 Bump version to 0.0.150 2022-12-01 16:31:18 -05:00