Commit Graph

12281 Commits

Author SHA1 Message Date
Charlie Marsh cf45d520e6 Fix failing test 2022-09-04 12:02:21 -04:00
Harutaka Kawamura b86414dc7a
Implement F707 (DefaultExceptNotLast) (#101) 2022-09-04 11:55:06 -04:00
Charlie Marsh 8f6ab8b37a Fix formatting of some rule messages 2022-09-04 09:52:31 -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 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 4319bd1755 Bump version to 0.0.25 2022-09-03 12:09:11 -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 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