From 7a81ff55bca1c54fb471271fa81b1e9cc8959457 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Dur=C3=A1n?= Date: Thu, 21 Jan 2021 02:08:18 +0100 Subject: [PATCH] Prevent isort from modifying files formatted with black and causing pipeline to fail (#45371) Prevent isort from modifying files formatted with black and causing pipeline to fail --- azure-pipelines-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines-ci.yml b/azure-pipelines-ci.yml index cda5943ecd03..50748c2c3ec5 100644 --- a/azure-pipelines-ci.yml +++ b/azure-pipelines-ci.yml @@ -62,7 +62,7 @@ stages: displayName: "Run bandit" - script: | . venv/bin/activate - pre-commit run isort --all-files --show-diff-on-failure + pre-commit run isort --all-files --show-diff-on-failure --profile black displayName: "Run isort" - script: | . venv/bin/activate