Commit Graph

45 Commits

Author SHA1 Message Date
Charlie Marsh 3c41b33023 Try to fix 2022-09-07 22:11:28 -04:00
Charlie Marsh 7be26dafe9 Try to annotate lifetimes 2022-09-07 21:47:14 -04:00
Charlie Marsh 5deb63a05f
Implement F601 and F602 (#122) 2022-09-07 12:57:50 -04:00
Colin J. Fuller 74ecdc73ac
Handle E731 in type-annotated assignment (#116) 2022-09-06 20:18:46 -04:00
Charlie Marsh 27025055ee
Implement E713 and E714 (#111) 2022-09-06 10:23:20 -04:00
Charlie Marsh e306fe0765
Implement E711 and E712 (#110) 2022-09-06 10:14:36 -04:00
Harutaka Kawamura 5ffb9c08d5
Implement E731 (#109) 2022-09-06 09:48:51 -04:00
Charlie Marsh 198e5cf27f
Implement R002 (NoAssertEquals) (#98) 2022-09-05 12:27:47 -04:00
Charlie Marsh f902d25dc7
Implement ESLint-style fix for R0205 (#97) 2022-09-05 12:16:06 -04:00
Charlie Marsh 3cf9e3b201
Implement E402 (ModuleImportNotAtTopOfFile) (#102) 2022-09-04 16:20:36 -04:00
Harutaka Kawamura b86414dc7a
Implement F707 (DefaultExceptNotLast) (#101) 2022-09-04 11:55:06 -04:00
Harutaka Kawamura 312bfd8d2b
Implement F631 (AssertTuple) (#99) 2022-09-04 08:39:49 -04:00
Harutaka Kawamura e2f46537fd
Fix false positive for `IfTuple` (#96) 2022-09-03 22:56:55 -04:00
Charlie Marsh 6bb6cb1783
Implement F822 (#94) 2022-09-03 12:08:26 -04:00
Charlie Marsh 5041f6530c
Implement R0205 (#91) 2022-09-03 11:33:54 -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
Sekky61 0c99b5aac5
Fix F832 --> F823 typo (#73) 2022-09-01 12:37:34 -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 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 3afedcd48b
Upgrade parser to handle more F821 cases (#57) 2022-08-31 10:52:54 -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 0cbcb982eb
Implement F823 (#44) 2022-08-29 23:04:44 -04:00
Charlie Marsh 847cbd0880 Fix forward annotations (#41) 2022-08-29 12:44:32 -04:00
Charlie Marsh 69d193d066 Add benchmark graph 2022-08-29 10:16:09 -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 618915f09e
Implement experimental binding support (#28) 2022-08-27 18:16:19 -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
Charles Marsh 623152768e Ignore some 'long line' errors 2022-08-18 20:59:44 -04:00
Charlie Marsh ddd554f9de
Implement F541 (#12) 2022-08-16 10:47:13 -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