Open
Description
ruff
was added in #599
Some of the rules were intentionally ignored in pyproject.toml
to allow us to enable them one by one and make the required changes. The goal of this issue is to remove "UP038", "UP035"
from the ignore section and make the changes as required.
ruff
should provide information when you run ruff check
after the rule is removed from the toml
file. Note that instead of using ruff check
, it might be preferable to use ruff check --fix --target-version py310
. See #599 (comment) for more.
https://docs.astral.sh/ruff/rules/non-pep604-isinstance/
https://docs.astral.sh/ruff/rules/deprecated-import/
https://docs.astral.sh/ruff/linter/#the-ruff-linter