ruff/scripts/ecosystem_fix_all_check_entrypoint.sh
konstin 550b643e33
Add script for ecosystem wide checks of all rules and fixes (#4326)
* Add script for ecosystem wide checks of all rules and fixes

This adds my personal script for checking an entire checkout of ~2.1k packages for
panics, autofix errors and similar problems. It's not really meant to be used by anybody else but i thought it's better if it lives in the repo than if it doesn't.

For reference, this is the current output of failing autofixes: https://gist.github.com/konstin/c3fada0135af6cacec74f166adf87a00. Trimmed down to the useful information: https://gist.github.com/konstin/c864f4c300c7903a24fdda49635c5da9

* Keep github template intact

* Remove the need for ripgrep

* sort output
2023-05-22 15:23:25 +02:00

9 lines
184 B
Bash
Executable file

#!/bin/bash
# Wrapper for ecosystem_fix_all_check.py
if [ ! -d ".venv/bin" ]; then
python -m venv .venv
.venv/bin/pip install tqdm
fi
.venv/bin/python ecosystem_fix_all_check.py