diff options
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7c5db18..4870756 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,18 +4,24 @@ repos: hooks: - id: trailing-whitespace args: [--markdown-linebreak-ext=md] - - id: flake8 - id: name-tests-test args: ['--django'] - id: end-of-file-fixer - - id: check-added-large-files + - repo: https://github.com/asottile/reorder_python_imports rev: master hooks: - id: reorder-python-imports + + - repo: https://gitlab.com/pycqa/flake8 + rev: master + hooks: + - id: flake8 + additional_dependencies: [flake8-bugbear] + - repo: https://github.com/ambv/black rev: stable hooks: - - id: black + - id: black default_language_version: python: python3.7 |