From 51583405234797173fe3906b4d59efa5f7c48d34 Mon Sep 17 00:00:00 2001 From: Santiago Lamora Date: Tue, 8 Mar 2022 10:04:59 +0100 Subject: [PATCH] Fix black & isort compatibility config on pre-commit --- .pre-commit-config.yaml | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 63a0458c..e26265b1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,6 +7,7 @@ repos: rev: 5.9.3 hooks: - id: isort + # args: ["--profile", "black", "--filter-files"] - repo: https://github.com/PyCQA/flake8 rev: 4.0.1 hooks: diff --git a/pyproject.toml b/pyproject.toml index 442cc5af..5290743c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,4 +3,4 @@ skip-string-normalization = true target-version = ['py38'] [tool.isort] -multi_line_output = 4 +profile = "black"