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 ["PLR1714", "PLC0414", "PLC0105", "PLW2901"]
from the ignore
section and make the changes wherever required.
ruff
should provide information when you run ruff check
after the rule is removed from the toml
file.
https://docs.astral.sh/ruff/rules/#pylint-pl
https://docs.astral.sh/ruff/linter/#the-ruff-linter