Skip to content

Using .pre-commit-config as a linter and test link check  #344

@yezz123

Description

@yezz123

I guess pre-commit is a good suggestion to let the project clean, and also check the new PRs if they correspond to the linting rules.

For example:

hooks:
          - id: check-merge-conflict
          - id: check-added-large-files
          - id: check-ast
          - id: check-symlinks
          - id: trailing-whitespace
          - id: check-json
          - id: debug-statements
          - id: pretty-format-json

I will try to describe this issue in a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions