Ruff is currently running via pre-commit hooks (ruff-check and ruff-format), but there is no explicit ruff configuration in pyproject.toml. This means ruff is running with its default, minimal, ruleset.
Per discussion on #194, a [tool.ruff] section should be added to pyproject.toml with an appropriate set of rules. Toga's configuration (see pyproject.toml) is a reasonable starting point, adapted for this project's needs.
Ruff is currently running via pre-commit hooks (
ruff-checkandruff-format), but there is no explicit ruff configuration inpyproject.toml. This means ruff is running with its default, minimal, ruleset.Per discussion on #194, a
[tool.ruff]section should be added topyproject.tomlwith an appropriate set of rules. Toga's configuration (see pyproject.toml) is a reasonable starting point, adapted for this project's needs.