Commit Graph

37 Commits

Author SHA1 Message Date
Reiner Gerecke c9aa7b9308
Generate the README's --help output automatically via cargo +nightly dev generate-all (#1483) 2022-12-30 15:06:32 -05:00
Charlie Marsh e9a4cb1c1d
Remove generated TypeScript options (#1456) 2022-12-29 19:37:49 -05:00
Charlie Marsh 1822b57ed5 Remove 'static 2022-12-27 21:57:32 -05:00
Charlie Marsh edcb3a7217
Support --select ALL to enable all error codes (#1418) 2022-12-27 21:38:26 -05:00
Charlie Marsh d22e96916c
Automatically detect and respect indentation and quotation code style (#1413) 2022-12-27 19:45:50 -05:00
Charlie Marsh b4dbe62da0
Add cargo +nightly dev generate-all (#1404) 2022-12-27 10:07:18 -05:00
Reiner Gerecke bdb1505262
Web playground with WASM (#1279) 2022-12-26 12:09:17 -05:00
Edgar R. M 4888afd423
Generate JSON schema for Ruff options (#1329) 2022-12-24 14:10:22 -05:00
Charlie Marsh 953d141ab2
Support code redirects in flake8-to-ruff (#1318) 2022-12-21 19:31:20 -05:00
Anders Kaseorg 20ac823778
generate-check-code-prefix: Run `rustfmt` automatically; only write if changed (#1282) 2022-12-18 17:46:23 -05:00
Charlie Marsh 6b2359384d
Print redirect warnings exactly once per code (#1280) 2022-12-18 12:03:49 -05:00
Charlie Marsh 528416f07a
Rename I252 to TID252; add redirects for all renamed codes (#1129) 2022-12-07 15:12:22 -05:00
Phillip Verheyden 9c6e8c7644
Auto-generate the rules table of contents (#1121) 2022-12-07 10:03:42 -05:00
Phillip Verheyden b8ff209af8
Encode prefixes in README headings not just in TOC (#1109) 2022-12-07 09:24:49 -05:00
Reiner Gerecke 982ac6b0ad
Auto-generate options in README from field attributes (#1015) 2022-12-05 22:34:40 -05:00
Charlie Marsh c659cb86d9
Rename RUF101 to RUF004 (#1020) 2022-12-03 22:46:13 -05:00
Charlie Marsh 8a3f29497b
Add backwards compatible redirect map for `U`-to-`UP` rename (#1019) 2022-12-03 22:43:00 -05:00
Jonathan Plasse 117fcb6936
Add no-eval rule from pygrep-hooks (#994) 2022-12-02 12:59:06 -05:00
Charlie Marsh 1085b547b6
Convert Err(anyhow(...)) to bail (#984) 2022-12-01 13:33:06 -05:00
Charlie Marsh 9e5df82578
Remove trailing punctuation from error messages (#983) 2022-12-01 12:25:37 -05:00
Charlie Marsh f6b0a606d6
Implement await-outside-async / E1142 (#972) 2022-11-30 11:38:03 -05:00
Jonathan Plasse d19a8aa54d
Auto-generate CheckCodePrefix::fixables() (#916) 2022-11-26 14:10:30 -05:00
Charlie Marsh 7445d00b88
Implement B023 (function uses loop variable) (#907) 2022-11-25 18:29:54 -05:00
Charlie Marsh bdd32c0850
Enforce most pedantic lints on CI (#878) 2022-11-22 18:55:57 -05:00
Charlie Marsh b922e6ecc8
Fix clippy::unnecessary_wraps (pedantic) (#880)
https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_wraps
2022-11-22 18:25:30 -05:00
Anders Kaseorg 9a66cf2ffb Fix clippy::uninlined_format_args (pedantic)
https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-11-21 23:22:28 -05:00
Anders Kaseorg 8d9d9b3204 Fix clippy::documentation_markdown (pedantic)
https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-11-21 23:22:28 -05:00
Anders Kaseorg 7a61edbe46
Fix clippy::default-trait-access (pedantic) (#867) 2022-11-21 21:00:38 -05:00
Anders Kaseorg 9bcf194fdc
Ignore clippy::match-same-arms (pedantic) in a few places (#863) 2022-11-21 15:59:58 -05:00
Reiner Gerecke f40609f524
Implement autofix for C413 (#661) 2022-11-08 16:12:29 -05:00
Charlie Marsh cea9e34942
Update CONTRIBUTING.md (#623) 2022-11-06 14:31:16 -05:00
Reiner Gerecke 1ede377402
Improve discoverability of dev commands (#621) 2022-11-06 14:25:59 -05:00
Anders Kaseorg 95073b1586
Fix “Code” misspelling (#614) 2022-11-05 19:28:52 -04:00
Charlie Marsh 3597a94818
Add a README link to each plugin (#611) 2022-11-05 16:18:27 -04:00
Charlie Marsh 2727e5f3b7
Remove some usages of Ruff internals in ruff_dev (#610) 2022-11-05 16:07:21 -04:00
Charlie Marsh d822458d97 Fix reference to src/checks_gen.rs 2022-11-05 15:59:51 -04:00
Charlie Marsh 6741ea9790
Create a separate dev crate for development scripts (#607) 2022-11-05 15:59:18 -04:00