Commit Graph

77 Commits

Author SHA1 Message Date
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
Charles Marsh
ab0144ca5b Upgrade rustpython-parser 2022-08-23 12:40:23 -04:00
Charlie Marsh
95ee62448b Add support for match case (#24) 2022-08-21 14:51:48 -04:00
Charlie Marsh
f3fd95572e Upgrade RustPython (#23) 2022-08-21 14:45:16 -04:00
Charlie Marsh
d7ee58c17a Add scope tracking (and F706) (#22) 2022-08-20 22:17:21 -04:00
Charlie Marsh
6f8144e6c2 Implement F901 (#21) 2022-08-20 21:25:04 -04:00
Charlie Marsh
b63d66fc3e Add settings hash to cache (#20) 2022-08-20 13:37:21 -04:00
Charlie Marsh
4c62e1e22e Add ability to selectively enable errors (#19) 2022-08-20 13:12:17 -04:00
Charlie Marsh
b11a7eefa3 Enable excludes (#18) 2022-08-20 13:00:58 -04:00
Charlie Marsh
7359e862c1 Add pyproject.toml support (#17) 2022-08-20 13:00:34 -04:00
Charlie Marsh
b7d7c50b2b Add benchmarking (#16) 2022-08-19 15:38:43 -04:00