mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-24 05:25:17 +00:00

* 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
9 lines
184 B
Bash
Executable file
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
|