From a8b947c45fdff234e06f8f3a26e65a8e0ebd0895 Mon Sep 17 00:00:00 2001 From: cako Date: Tue, 28 Dec 2021 22:49:07 -0500 Subject: [PATCH] Use black profile for isort --- .pre-commit-config.yaml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a6d6f8ff..23bfc594 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,13 +13,10 @@ repos: - id: black args: # arguments to configure black - --line-length=88 -# - repo: https://github.com/asottile/seed-isort-config -# rev: v2.2.0 -# hooks: -# - id: seed-isort-config -# - repo: https://github.com/pycqa/isort -# rev: 5.10.1 -# hooks: -# - id: isort -# name: isort (python) + - repo: https://github.com/pycqa/isort + rev: 5.10.1 + hooks: + - id: isort + name: isort (python) + args: ["--profile", "black", "--filter-files", "--line-length=88"]