Closed brisvag closed 4 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 92.38%. Comparing base (
dec8b09
) to head (892fa7b
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I've updated the title and description. In general, before merging and/or applying the ready-to-merge label, it would be good to have more thorough descriptions like the above. Many of these rules are mysterious even to long-time Python developers 🙋😅.
References and relevant issues
Updating ruff linting rules is tracked by #5589.
Documentation for the SLOT linting rule can be found at: https://docs.astral.sh/ruff/rules/#flake8-slots-slot
Description
The benefit of these rules is memory savings, because classes with
__slots__
are more compact than classes with arbitrary attribute dictionaries. This is typically a small benefit, but could speed up some stuff like translations.