From d83ed574d515260c6b03b30f3bca8201d250a6c5 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Thu, 5 Aug 2021 07:56:56 +0200 Subject: [PATCH] [pre-commit] update hooks --- .pre-commit-config.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 446c0328..82e14d58 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 -- GitLab