Commit Graph

11743 Commits

Author SHA1 Message Date
Charlie Marsh 0157fedab5
Move Python file resolution into resolver.rs (#1211) 2022-12-12 10:43:50 -05:00
Charlie Marsh cd69610741
Use `--config` everywhere if provided (#1210) 2022-12-12 10:28:00 -05:00
Charlie Marsh a3d06d0005
Move more commands into commands.rs (#1209) 2022-12-12 10:22:47 -05:00
Charlie Marsh ac6fa1dc88
Simplify some logic around configuration detection (#1197) 2022-12-12 10:15:05 -05:00
Charlie Marsh 73794fc299
Resolve hierarchical settings and Python files in a single filesystem pass (#1205) 2022-12-12 10:13:52 -05:00
Charlie Marsh 0adc9ed259
Support hierarchical settings for nested directories (#1190) 2022-12-12 10:12:23 -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 c05914f222
Avoid inserting extra newlines for comment-delimited import blocks (#1201) 2022-12-11 17:13:09 -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
Reiner Gerecke 38141a6f14
Check for outdated auto-generated files in CI (#1192) 2022-12-11 10:18:57 -05:00
Charlie Marsh aa5402fc0e Add flake8-simplify to flake8-to-ruff 2022-12-11 10:10:46 -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
Charlie Marsh 360b033e04
Avoid F821 false positive on annotated global (#1196) 2022-12-11 10:04:06 -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
Harutaka Kawamura efdc4e801d
Upgrade RustPython to fix end location of implicitly concatenated strings (#1187) 2022-12-10 19:16:01 -05:00
Charlie Marsh f8f2eeed35
Enable --no-show-source for consistency (#1189) 2022-12-10 19:09:49 -05:00
Charlie Marsh 8fa414b67e
Move configuration-CLI resolution into dedicated methods (#1188) 2022-12-10 19:07:38 -05:00
Charlie Marsh 484d7a30bd Add TODO around nested globals 2022-12-10 17:44:08 -05:00
Charlie Marsh fb681c614a
Move string formatting checks to plugins (#1185) 2022-12-10 16:43:21 -05:00
Reiner Gerecke 06ed125771
Add autofix for F504 and F522 (#1184) 2022-12-10 16:33:09 -05:00
Charlie Marsh 74668915b0
Remove serialization format from Settings struct (#1183) 2022-12-10 13:38:59 -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 39440aa274
Create function and lambda scopes eagerly (#1181) 2022-12-10 12:08:33 -05:00
Charlie Marsh add96d3dc5
Implement E0117 (nonlocal-without-binding) (#1180) 2022-12-10 11:41:57 -05:00
Charlie Marsh 6f8e0224d0
Implement W0602 (global-variable-not-assigned) (#1179) 2022-12-10 11:33:24 -05:00
Charlie Marsh b8bbafd85b
Flag global usages prior to `global` declarations (#1178) 2022-12-10 11:19:24 -05:00
Charlie Marsh 40b54d3e8c
Ignore imports in class scopes (#1176) 2022-12-10 10:23:33 -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 5728dceef0 Add note around redefinitions 2022-12-09 23:18:51 -05:00
Charlie Marsh 6739602806
Mark redefined-but-unused imports as unused regardless of scope (#1173) 2022-12-09 23:17:33 -05:00
Charlie Marsh 305326f7d7
Remove some string clones from docstring helpers (#1172) 2022-12-09 22:30:34 -05:00
Charlie Marsh 69866f5461
Extract docstring exactly once (#1171) 2022-12-09 22:21:16 -05:00
Charlie Marsh 41ca29c4f4 Add TODO in redefined_by_function 2022-12-09 21:19:57 -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 197645d90d
Always use raw docstrings for pydocstyle rules (#1167) 2022-12-09 17:31:04 -05:00
Charlie Marsh 26d3ff5a3a
Add pyflakes test suite for annotations (#1166) 2022-12-09 16:28:07 -05:00
Charlie Marsh 0dacf61153
Implement F842 (UnusedAnnotation) (#1165) 2022-12-09 12:42:03 -05:00
Charlie Marsh a6251360b7
Avoid RET false-positives for usages in f-strings (#1163) 2022-12-09 12:28:09 -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