Commit Graph

125 Commits

Author SHA1 Message Date
Charlie Marsh d8bb0632c5 Battling allocator 2022-10-01 17:14:16 -04:00
Charlie Marsh d7412af996 Try lifetimes 2022-09-02 19:50:15 -04:00
Charlie Marsh b1f734f445 Little demo 2022-09-02 18:39:51 -04:00
Charlie Marsh a9d1d17eac Try to support transformations 2022-09-02 18:18:32 -04:00
Charlie Marsh 0cfa2d617a Iterate on CST traversal 2022-09-02 16:48:07 -04:00
Charlie Marsh 21d39a9b44 Try to extend visitor 2022-09-02 11:29:48 -04:00
Charlie Marsh 9ad82a6127 Autofix-only 2022-09-02 11:29:48 -04:00
Charlie Marsh 4617c997bb Experiment with LibCST parsing 2022-09-02 11:29:47 -04:00
Charlie Marsh 26e1f4b6df Bump version to 0.0.24 2022-09-02 10:18:40 -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
Charlie Marsh 994f5d452c Update .gitignore 2022-09-01 20:32:32 -04:00
Nikita Sobolev 741857cdf9
Use the latest version of `actions/checkout` (#79) 2022-09-01 13:18:31 -04:00
Ariel Richtman 4f42f51bd2
Add pre-commit hook (#55) 2022-09-01 13:01:28 -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
Kian-Meng Ang b442402b13
Prettify md/yaml files (#74) 2022-09-01 12:36:47 -04:00
Charlie Marsh ba27e50164 Bump version to 0.0.23 2022-09-01 09:21:43 -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 64df4eb311 Bump version to 0.0.22 2022-08-31 19:12:31 -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 556ae00078 Bump version to 0.0.21 2022-08-31 11:25:46 -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 875e812188 Disable build-on-push for now 2022-08-31 10:45:41 -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 1e67ce229f Increment to v0.0.20 2022-08-30 14:41:28 -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 dd759e4730 Update graph 2022-08-30 13:41:30 -04:00
Adrian Garcia Badaracco e16fd39bb5
Build on every push but only publish on tags (#46) 2022-08-30 13:19:36 -04:00
Charlie Marsh 7ed5b3d3a2
Avoid re-reading + iterating over lines for ignores (#48) 2022-08-30 13:19:22 -04:00
Charlie Marsh ae27793b86 Remove extraneous Dockerfile 2022-08-30 09:24:57 -04:00
Charlie Marsh 641ff8452e Tweak README 2022-08-30 09:23:15 -04:00
Charlie Marsh 53554a2bf1 Remove lint step from release.yaml 2022-08-30 09:16:35 -04:00
Adrian Garcia Badaracco bd0ed1b96c
Build ABI3 wheels and expand supported platforms (#45) 2022-08-30 09:16:07 -04:00
Charlie Marsh 0cbcb982eb
Implement F823 (#44) 2022-08-29 23:04:44 -04:00