diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,10 +3,23 @@ rev: v2.4.0 hooks: - id: trailing-whitespace - - id: flake8 - id: check-json - id: check-yaml +# we need the master of pyflakes to have support for @overload on methods, +# so we use a local config for now +# - repo: https://gitlab.com/pycqa/flake8 +# hooks: +# - id: flake8 +- repo: local + hooks: + - id: flake8 + name: flake8 + entry: flake8 + pass_filenames: true + language: system + types: [python] + - repo: https://github.com/codespell-project/codespell rev: v1.16.0 hooks: