Skip to content

Add ruff linting configuration #195

@shalgrim

Description

@shalgrim

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions