Skip to content

Add git pre-commit hooks for things like ruff and prettier #1403

@tleonhardt

Description

@tleonhardt

I would like to add some git pre-commit hooks for ruff auto-formatting and linting of Python files and prettier formatting of Markdown and YAML files.

Would anyone object to this?

These things are fast and shouldn't slow down work on cmd2. Things that can be slower like mypy and pytest can simply stay part of GitHub Actions CI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions