diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 09995bfb..03164b4f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: rev: 5.10.1 hooks: - id: isort - args: [--line-width=88, --force-grid-wrap=0, --use-parentheses, --multi-line=0, --float-to-top] + args: [--profile=black, --line-width=88, --force-grid-wrap=0, --use-parentheses, --float-to-top] - repo: https://github.com/psf/black rev: 22.10.0 hooks: diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 72819ff4..967cc633 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -114,7 +114,7 @@ To avoid `pre-commit` hooks formatting files only right before a commit, we reco }, { "match": ".py$", - "cmd": "isort --line-width 88 --force-grid-wrap 0 --use-parentheses --multi-line 0 --float-to-top ${file}" + "cmd": "isort --profile black --line-width 88 --force-grid-wrap 0 --use-parentheses --float-to-top ${file}" }, { "match": ".py$",