Skip to content

Adopt linter, formatter, and pre-commit-hooks. #4

@allemangD

Description

@allemangD

One of the nitpick issues mentioned in Slicer/ExtensionsIndex#2006 (review)


Adopt ruff linter/formatter and pre-commit-hooks from Slicer.

Relevant Slicer config files to add:

ruff config at https://github.com/Slicer/Slicer/blob/main/.ruff.toml

pre-commit config at https://github.com/Slicer/Slicer/blob/main/.pre-commit-config.yaml

GitHub actions to automatically run pre-commit at https://github.com/Slicer/Slicer/blob/main/.github/workflows/lint.yml

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