Commit Graph

87 Commits

Author SHA1 Message Date
Charlie Marsh
97cc30768d Fix typo in enforce_line_too_long 2022-09-03 16:32:15 -04:00
Grachev Mikhail
d580f2eb90 Check for updates (#90) 2022-09-03 16:31:44 -04:00
Dmitry Dygalo
507fecfd9a perf: Avoid Vec<&str> allocation during line length checking (#95) 2022-09-03 16:27:18 -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
5041f6530c Implement R0205 (#91) 2022-09-03 11:33:54 -04:00
Narawit Rakket
3c7716ef27 refactor: run cargo clippy --fix (#88) 2022-09-02 17:01:24 -04:00
Charlie Marsh
17c08523dc Remove rogue println 2022-09-02 10:18:12 -04:00
Charlie Marsh
221f4304ad Add support for __all__ export bindings (#87) 2022-09-02 10:17:31 -04:00
Charlie Marsh
c0131e65e5 Avoid putting decorators in the function scope (#86) 2022-09-02 09:13:06 -04:00
Charlie Marsh
bf4722a62f Fix future-to-__future__ typo (#85) 2022-09-02 08:56:26 -04:00
Dmitry Dygalo
5a3092e805 perf: Compile Regex once (#77) 2022-09-01 12:49:29 -04:00
Charlie Marsh
0318406535 Re-sort lint rules 2022-09-01 12:39:25 -04:00
Sekky61
0c99b5aac5 Fix F832 --> F823 typo (#73) 2022-09-01 12:37:34 -04:00
Charlie Marsh
d55651d470 Rename cache to .ruff_cache 2022-09-01 09:19:32 -04:00
Charlie Marsh
0c110bcecf Add some user-visible logging when pyproject.toml fails to parse 2022-09-01 09:18:47 -04:00
Patrick Haller
9bf8a0d0f1 Check if toml file is parsed correctly (#71) 2022-09-01 09:15:07 -04:00
Eric Hagman
888cfeba35 Remove .to_string() from F634 error message (#67) 2022-09-01 09:08:48 -04:00
Charlie Marsh
2bac3027a5 Implement F704 (#66) 2022-08-31 19:11:59 -04:00
Charlie Marsh
c28ac75591 Implement F841 (for functions) (#65) 2022-08-31 19:11:26 -04:00
Charlie Marsh
59f009b52d Enable globs in excludes list (#64) 2022-08-31 18:53:13 -04:00
Charlie Marsh
b5edcee9f2 Implement F841 (for exception handlers) (#63) 2022-08-31 18:40:34 -04:00
Charlie Marsh
3f739214b4 Bind excepthandler names (#62) 2022-08-31 18:16:37 -04:00
Charlie Marsh
0b9e3f8b47 Minor formatting changes 2022-08-31 12:38:23 -04:00
Charlie Marsh
adad214619 Handle submodule imports for F401 (#58) 2022-08-31 11:24:25 -04:00
Charlie Marsh
0ebed13e67 Sort messages prior to display (#56) 2022-08-31 10:53:35 -04:00
Charlie Marsh
3afedcd48b Upgrade parser to handle more F821 cases (#57) 2022-08-31 10:52:54 -04:00
Charlie Marsh
80f3cd0ef7 Don't assume errors appear in-order with line contents 2022-08-31 08:40:38 -04:00
Dmitry Dygalo
9e3c35e6dc Improve search for duplicates (#53) 2022-08-31 08:23:43 -04:00
Charlie Marsh
643797d922 Support builtins (#50) 2022-08-30 14:41:17 -04:00
Charlie Marsh
e9a3484edf Implement F821 (#49) 2022-08-30 14:37:06 -04:00
Charlie Marsh
7ed5b3d3a2 Avoid re-reading + iterating over lines for ignores (#48) 2022-08-30 13:19:22 -04:00
Charlie Marsh
0cbcb982eb Implement F823 (#44) 2022-08-29 23:04:44 -04:00
Charlie Marsh
832c3ebbd2 Change clap description 2022-08-29 22:00:03 -04:00
Charlie Marsh
16b6859e94 Remove trailing newline 2022-08-29 21:59:32 -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
2cd15c3349 Fix select and ignore 2022-08-28 14:35:29 -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
816bb88e3b Use complete symbol for import from (#35) 2022-08-28 10:02:07 -04:00
Charlie Marsh
9686676710 Add --select and --ignore 2022-08-27 20:56:55 -04:00
Charlie Marsh
c52fdfa748 Rename to ruff (#29) 2022-08-27 18:30:30 -04:00
Charlie Marsh
618915f09e Implement experimental binding support (#28) 2022-08-27 18:16:19 -04:00
Charlie Marsh
6129d5bbba Add help messages 2022-08-27 18:16:09 -04:00
Charlie Marsh
8b1c4fce6b Add exit-zero 2022-08-27 18:11:49 -04:00
Charlie Marsh
1fb3db92f1 Add --quiet flag 2022-08-27 18:04:02 -04:00