Skip to content

Make use of pre-commit hooks #6

Description

@zner0L

Having to check the CI every time you pushed new changes, only to find out you missed a simple thing is annoying. This is what pre-comiit hooks are for, they run before git commit and can check the code, or format it correctly. For python, this can be done using https://pre-commit.com/

I suggest we use pre-commit hooks for formatting with black and linting with flake8.
I am split on test coverage, because it takes a bit to run an might be annoying. What do you think, @jnnsbrr?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions