ruff/crates/ruff_dev/src
konstin 03694ef649
More stability checker options (#5299)
## Summary

This contains three changes:
* repos in `check_ecosystem.py` are stored as `org:name` instead of
`org/name` to create a flat directory layout
* `check_ecosystem.py` performs a maximum of 50 parallel jobs at the
same time to avoid consuming to much RAM
* `check-formatter-stability` gets a new option `--multi-project` so
it's possible to do `cargo run --bin ruff_dev --
check-formatter-stability --multi-project target/checkouts`
With these three changes it becomes easy to check the formatter
stability over a larger number of repositories. This is part of the
integration of integrating formatter regressions checks into the
ecosystem checks.

## Test Plan

```shell
python scripts/check_ecosystem.py --checkouts target/checkouts --projects github_search.jsonl -v $(which true) $(which true)
cargo run --bin ruff_dev -- check-formatter-stability --multi-project target/checkouts
```
2023-06-22 15:48:11 +00:00
..
check_formatter_stability.rs More stability checker options (#5299) 2023-06-22 15:48:11 +00:00
generate_all.rs Disallow `unreachable_pub` (#4314) 2023-05-11 18:00:00 -04:00
generate_cli_help.rs Use `mod tests` consistently (#5278) 2023-06-22 01:50:28 +00:00
generate_docs.rs Update option anchors to include group name (#4711) 2023-05-29 17:26:10 -04:00
generate_json_schema.rs Use `mod tests` consistently (#5278) 2023-06-22 01:50:28 +00:00
generate_options.rs Update option anchors to include group name (#4711) 2023-05-29 17:26:10 -04:00
generate_rules_table.rs Disallow `unreachable_pub` (#4314) 2023-05-11 18:00:00 -04:00
main.rs Add a script that tests formatter stability on repositories (#5055) 2023-06-19 14:13:38 +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 Add roundtrip support for Jupyter notebook (#5028) 2023-06-12 23:27:45 +05:30