Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add pre-commit configuration #6

Open
chrissiwaffler opened this issue May 18, 2023 · 0 comments
Open

add pre-commit configuration #6

chrissiwaffler opened this issue May 18, 2023 · 0 comments
Assignees

Comments

@chrissiwaffler
Copy link
Collaborator

chrissiwaffler commented May 18, 2023

  • style checking with black (and pylint or flake8)

something like this:

repos:
  - repo: https://github.com/psf/black
    rev: stable
    hooks:
      - id: black
        # It is recommended to specify the latest version of Python
        # supported by your project here, or alternatively use
        # pre-commit's default_language_version, see
        # https://pre-commit.com/#top_level-default_language_version
        language_version: python3.11
@chrissiwaffler chrissiwaffler self-assigned this May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant