-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
CI barriers to prevent regression
In CI:
Ruff with size and complexity rules enabled as error after Pass B.
pytest -q + goldens
max=500`
viol=$(git ls-files '*.py' | xargs wc -l | awk -v m=$max '$1>m {print}')
[ -z "$viol" ] || { echo "Files over ${max} LOC:"; echo "$viol"; exit 1; }
Any PR that uploads a file above the limit fails.
Barriers in CI to prevent regression
In CI:
ruff with size and complexity rules enabled as error after Pass B.
pytest -q + goldens
max=500`
viol=$(git ls-files '*.py' | xargs wc -l | awk -v m=$max '$1>m {print}')
[ -z "$viol" ] || { echo "Files over ${max} LOC:"; echo "$viol"; exit 1; }
Any PR that uploads a file above the limit fails.