ruff/python
Zanie Blue 9f5102d536
Improve calculation of max display per rule in ecosystem checks (#8291)
Fixes bug where `total_affected_rules` is empty, a division by zero
error can occur if there are only errors and no rule changes. Calculates
the maximum display per rule with the calculated project maximum as the
upper bound instead of 50, this should show more rule variety when
project maximums are lower.

This commit was meant to be in #8223 but I missed it.
2023-10-27 22:04:52 -05:00
..
ruff Fix subprocess.run on Windows Python 3.7 (#5220) 2023-06-20 13:53:32 -04:00
ruff-ecosystem Improve calculation of max display per rule in ecosystem checks (#8291) 2023-10-27 22:04:52 -05:00