diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 446c0328cee477ce44e5fd1e78bae0c036075e74..82e14d581a22fc0afcebe1b81caa8e725132bfae 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,20 +4,25 @@ repos: - repo: https://github.com/timothycrosley/isort rev: 5.8.0 hooks: - - id: isort - args: [-sl] + - id: isort + args: [ + --force-single-line-imports, + --line-length, "88", + --order-by-type, + --lines-between-types, "1" + ] - repo: https://github.com/psf/black - rev: 20.8b1 + rev: 21.7b0 hooks: - id: black exclude: bob/devtools/templates/setup.py - repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.0 + rev: 3.9.2 hooks: - id: flake8 exclude: bob/devtools/templates/setup\.py - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.4.0 + rev: v4.0.1 hooks: - id: check-ast exclude: bob/devtools/templates/setup.py