Skip to content

Change github actions lint job to use pre-commit #22

Description

@jcorrado76

Instead of maintaining a list of linting and actions to perform separately in the CI/CD script (in python-publish.yaml), we should list all the linting in a single location (.pre-commit-config.yaml), and then run pre-commit run in the CI/CD script. This way, what people are running locally via pre-commit is the same as what's being required on the CI server.

This reduces code duplication between the CI configuration, and the pre-commit configuration.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions