Commit Graph

11743 Commits

Author SHA1 Message Date
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 1a8940f015
Implement E902 (IOError) (#107) 2022-09-05 13:15:12 -04:00
Charlie Marsh 45db571935 Bump version to 0.0.26 2022-09-05 12:28:27 -04:00
Charlie Marsh 198e5cf27f
Implement R002 (NoAssertEquals) (#98) 2022-09-05 12:27:47 -04:00
Charlie Marsh 79b6472c7c Add a note RE Black compat 2022-09-05 12:27:39 -04:00
Charlie Marsh f902d25dc7
Implement ESLint-style fix for R0205 (#97) 2022-09-05 12:16:06 -04:00
Charlie Marsh 826bdfeb63
Add utility scripts for AST printing (#105) 2022-09-05 09:31:55 -04:00
Charlie Marsh a3fb0d6c20
Remove custom serialization for Location (#104) 2022-09-04 17:54:45 -04:00
Charlie Marsh 3cf9e3b201
Implement E402 (ModuleImportNotAtTopOfFile) (#102) 2022-09-04 16:20:36 -04:00
Charlie Marsh 533b4e752b Reduce ignores in CPython benchmark 2022-09-04 16:13:35 -04:00
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