Commit Graph

12 Commits

Author SHA1 Message Date
Charlie Marsh 79ca66ace5
Use nightly rustfmt with rustfmt.toml (#536) 2022-11-01 20:34:38 -04:00
Charlie Marsh edefa5219c
Update RustPython to get main versions of end_location etc. (#445) 2022-10-17 11:52:40 -04:00
Charlie Marsh aafe7c0c39
Mark aliased submodule imports as used (#374) 2022-10-09 17:01:14 -04:00
Charlie Marsh b049cced04
Automatically remove unused imports (#298) 2022-10-03 14:08:16 -04:00
Charlie Marsh 83f18193c2
Add an end location to Check (#299) 2022-10-02 12:50:42 -04:00
Charlie Marsh 65d29d9734
Adjust line numbers when reporting rules in f-strings (#244) 2022-09-21 13:42:58 -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 afe7a04211
Ignore F841 violations when locals() is in scope (#226) 2022-09-19 20:13:55 -06:00
Charlie Marsh 592c53c8bf
Use binding location when reporting F821 errors (#200) 2022-09-14 22:51:07 -04:00
Charlie Marsh 43e1f20b28
Allow unused assignments in for loops and unpacking (#163) 2022-09-11 21:53:45 -04:00
Charlie Marsh b536159541
Pull check logic out of check_ast.rs (#135) 2022-09-08 22:46:42 -04:00