Closed brisvag closed 3 weeks ago
I moved the T20 rule to #6849, so we can keep things cleaner and discuss whether to use it and how to integrate it there.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 92.39%. Comparing base (
ba73456
) to head (708e166
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
References
Tracking issue: #5589
Description
This PR adds a few rules to be checked by
ruff
. Some of them required no changes or very little; you can click on individual commits to see them one by one. ~The only one that needs discussion isT20
(print statements) which required a few ignores.~ EDIT: moved it to #6849The rules are:
from __future__ import annotations
is used correctly (1 change)I'm going through a few more, but might split out into separate PRs. Happy to split this one out as well.
~EDIT: depends on #6775~ No longer true, rebased on main and it's fine.