Commit Graph

11614 Commits

Author SHA1 Message Date
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
Charlie Marsh 46f5053c73
Include fixes in JSON API output (#988) 2022-12-01 16:30:56 -05:00
Charlie Marsh af40e64d6c
Remove Patch abstraction from Fix (#987) 2022-12-01 16:04:42 -05:00
Charlie Marsh 2e89cd8802
Split test fixtures up by plugin (#985) 2022-12-01 13:33:33 -05:00
Charlie Marsh 1085b547b6
Convert Err(anyhow(...)) to bail (#984) 2022-12-01 13:33:06 -05:00
Charlie Marsh 9e5df82578
Remove trailing punctuation from error messages (#983) 2022-12-01 12:25:37 -05:00
Charlie Marsh 6fe478cb43
Add Conda installation instructions (#982) 2022-12-01 12:19:39 -05:00
Charlie Marsh c06a1f6da9 Force format --text in tests 2022-12-01 10:51:11 -05:00
Edgar R. M 6f48ac6c0b
Add GitHub output format (#975) 2022-12-01 10:22:11 -05:00
Edgar R. M 9e1ba916f0
Send logs to stderr (#977) 2022-12-01 10:19:32 -05:00
Charlie Marsh f6b0a606d6
Implement await-outside-async / E1142 (#972) 2022-11-30 11:38:03 -05:00
Charlie Marsh c8e72dfb9e
Narrow keyword in yield-outside-function (#971) 2022-11-30 10:03:40 -05:00