diff --git a/bob/devtools/templates/.pre-commit-config.yaml b/bob/devtools/templates/.pre-commit-config.yaml index 08ae74117cd54402e260369ed4cbf761e09cc283..aca55f5bf7de1b774b9932355b11661586c55a70 100644 --- a/bob/devtools/templates/.pre-commit-config.yaml +++ b/bob/devtools/templates/.pre-commit-config.yaml @@ -2,16 +2,20 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/timothycrosley/isort - rev: 4.3.21-2 + rev: 5.8.0 hooks: - id: isort - args: [-sl] + args: [--sl, --line-length, "88"] - repo: https://github.com/psf/black - rev: stable + rev: 20.8b1 hooks: - id: black + - repo: https://gitlab.com/pycqa/flake8 + rev: 3.9.0 + hooks: + - id: flake8 - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.0.0 + rev: v3.4.0 hooks: - id: check-ast - id: check-case-conflict @@ -19,7 +23,6 @@ repos: - id: end-of-file-fixer - id: debug-statements - id: check-added-large-files - - id: flake8 - repo: local hooks: - id: sphinx-build