mirror of
https://github.com/astral-sh/ruff
synced 2026-01-21 21:40:51 -05:00
Adds a diagnostic for division by the integer zero in `//`, `/`, and `%`. Doesn't handle `<int> / 0.0` because we don't track the values of float literals.