diff --git a/bob/devtools/templates/.isort.cfg b/bob/devtools/templates/.isort.cfg index 8d7af1de97c8aea738c0f7c503d1461ad413db4f..ab6c1fc51d22b94b4ed9c42afe7e154c9f25bbd0 100644 --- a/bob/devtools/templates/.isort.cfg +++ b/bob/devtools/templates/.isort.cfg @@ -1,4 +1,5 @@ [settings] +profile=black line_length=88 order_by_type=true lines_between_types=1 diff --git a/bob/devtools/templates/.pre-commit-config.yaml b/bob/devtools/templates/.pre-commit-config.yaml index aca55f5bf7de1b774b9932355b11661586c55a70..49cebe903dc13c27303ff20b660d33b2bdb1dba7 100644 --- a/bob/devtools/templates/.pre-commit-config.yaml +++ b/bob/devtools/templates/.pre-commit-config.yaml @@ -5,7 +5,7 @@ repos: rev: 5.8.0 hooks: - id: isort - args: [--sl, --line-length, "88"] + args: [--profile, "black", --sl, --line-length, "88"] - repo: https://github.com/psf/black rev: 20.8b1 hooks: