ruff/crates/ruff_dev/src
konsti 7dd30f0270
Read black options in format_dev script (#5827)
## Summary

Comparing repos with black requires that we use the settings as black,
notably line length and magic trailing comma behaviour. Excludes and
preserving quotes (vs. a preference for either quote style) is not yet
implemented because they weren't needed for the test projects.

In the other two commits i fixed the output when the progress bar is
hidden (this way is recommonded in the indicatif docs), added a
`scratch.pyi` file to gitignore because black formats stub files
differently and also updated the ecosystem readme with the projects json
without forks.

## Test Plan

I added a `line-length` vs `line_length` test. Otherwise only my
personal usage atm, a PR to integrate the script into the CI to check
some projects will follow.
2023-07-17 13:29:43 +00:00
..
format_dev.rs Read black options in format_dev script (#5827) 2023-07-17 13:29:43 +00:00
generate_all.rs Document ruff_dev and format_dev (#5648) 2023-07-12 16:18:22 +02:00
generate_cli_help.rs Use `mod tests` consistently (#5278) 2023-06-22 01:50:28 +00:00
generate_docs.rs Fix `Options` section of rule docs (#5741) 2023-07-13 17:25:54 +00:00
generate_json_schema.rs Add unreachable code rule (#5384) 2023-07-04 14:27:23 +00:00
generate_options.rs Document ruff_dev and format_dev (#5648) 2023-07-12 16:18:22 +02:00
generate_rules_table.rs Document ruff_dev and format_dev (#5648) 2023-07-12 16:18:22 +02:00
main.rs Extend ruff_dev formatter script to compute statistics and format a project (#5492) 2023-07-07 11:30:12 +00:00
print_ast.rs Upgrade RustPython (#4747) 2023-05-31 08:26:35 +00:00
print_cst.rs Disallow `unreachable_pub` (#4314) 2023-05-11 18:00:00 -04:00
print_tokens.rs Disallow `unreachable_pub` (#4314) 2023-05-11 18:00:00 -04:00
round_trip.rs Experimental release for Jupyter notebook integration (#5363) 2023-06-26 21:22:42 +05:30