diff options
-rw-r--r-- | .pre-commit-config.yaml | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b5f3715..d7d4b84 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,15 +1,10 @@ repos: - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.2.3 + - repo: local hooks: - id: flake8 - additional_dependencies: [ - pydocstyle ~= 4.0, - "flake8-docstrings >= 1.3.1, == 1.*", - flake8-bugbear ~= 19.3, - flake8-import-order ~= 0.18.1, - flake8-tidy-imports ~= 2.0, - flake8-todo ~= 0.7, - flake8-string-format ~= 0.2.3, - flake8-quotes ~= 2.1 - ] + name: Flake8 + description: This hook runs flake8 within our project's pipenv environment. + entry: pipenv run flake8 + language: python + types: [python] + require_serial: true |