Commit Graph

85 Commits

Author SHA1 Message Date
Charlie Marsh 118a9feec8
Split checks and plugins into source-related modules (#447) 2022-10-17 15:38:49 -04:00
Charlie Marsh c59610906c Optimize imports 2022-10-14 14:42:48 -04:00
Charlie Marsh f0dab24079
Implement D405, D406, D410, D411, and D413 (#411) 2022-10-12 16:31:14 -04:00
Charlie Marsh 688fc0cd02
Implement docstring visibility checks (#408) 2022-10-12 12:46:40 -04:00
Charlie Marsh 323a5c857c
Implement docstring tracking (#394) 2022-10-10 15:15:09 -04:00
Charlie Marsh 78aafb4b34
Warn the user if an explicitly selected check code is ignored (#356) 2022-10-07 17:36:17 -04:00
Charlie Marsh 3d5bc1f51f
Migrate Checker logic to independent plugins (#331) 2022-10-05 14:08:40 -04:00
Charlie Marsh 5bf8b13644
Properly combine CLI and pyproject.toml ignores and selects (#329) 2022-10-04 20:07:17 -04:00
Charlie Marsh 44897b2a5b
Enable AST-to-source code generation (#292) 2022-10-04 16:27:57 -04:00
Charlie Marsh 83f18193c2
Add an end location to Check (#299) 2022-10-02 12:50:42 -04:00
Charlie Marsh 417764d309
Expose a public 'check' method (#289) 2022-09-30 11:30:37 -04:00
Charlie Marsh ca6551eb37 Remove misc. unnecessary statements 2022-09-29 18:45:10 -04:00
Charlie Marsh 7043e15b57 Move noqa to a separate module 2022-09-22 09:04:54 -04:00
Charlie Marsh fa0954fe47
Treat relative excludes as relative to project root (#228) 2022-09-19 20:45:02 -06:00
Charlie Marsh 6bbf3f46c4
Add .gitignore to .ruff_cache (#208) 2022-09-15 20:40:06 -04:00
Patrick Haller 507e9f7ec3
Fix: Structured output Issue Fix (#186) 2022-09-15 09:43:10 -04:00
Charlie Marsh 1dd3350a30
Revert "Adding flag and logic for different output format" (#187) 2022-09-14 14:20:02 -04:00
Patrick Haller bda34945a5
Adding flag and logic for different output format (#185) 2022-09-14 10:43:32 -04:00
Charlie Marsh 7d69a153e8
Support remaining typing module members (#141) 2022-09-10 14:51:43 -04:00
Charlie Marsh b536159541
Pull check logic out of check_ast.rs (#135) 2022-09-08 22:46:42 -04:00
Charlie Marsh c61ff9a947
Adjust location when parsing deferred type annotations (#133) 2022-09-08 11:37:19 -04:00
Charlie Marsh e306fe0765
Implement E711 and E712 (#110) 2022-09-06 10:14:36 -04:00
Charlie Marsh f902d25dc7
Implement ESLint-style fix for R0205 (#97) 2022-09-05 12:16:06 -04:00
Charlie Marsh 221f4304ad
Add support for __all__ export bindings (#87) 2022-09-02 10:17:31 -04:00
Charlie Marsh 643797d922
Support builtins (#50) 2022-08-30 14:41:17 -04:00
Charlie Marsh 9686676710 Add --select and --ignore 2022-08-27 20:56:55 -04:00
Charlie Marsh 7359e862c1
Add pyproject.toml support (#17) 2022-08-20 13:00:34 -04:00
Charlie Marsh 3b1b53dacf
Add support for noqa pragmas (#11) 2022-08-15 22:00:50 -04:00
Charlie Marsh 611037bbd4
Add a check for long lines (#10) 2022-08-13 18:02:30 -04:00
Charlie Marsh 4a67c8d44b
Add unit tests for linter (#9) 2022-08-13 17:32:40 -04:00
Charlie Marsh ebdfea95a4
Split Check and Message (#7) 2022-08-13 11:30:16 -04:00
Charlie Marsh 35d1d24399
Make cache configurable (#6) 2022-08-13 11:18:20 -04:00
Charlie Marsh 8091beca89
Implement visitor pattern (#4) 2022-08-12 17:53:31 -04:00
Charles Marsh 6257dd00c7 Support multiple files 2022-08-09 17:03:16 -04:00
Charles Marsh 0d8e4bd6e9 Initial commit for linter prototype 2022-08-09 13:19:19 -04:00