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
This commit is contained in:
Manuel Durán
2021-01-21 02:08:18 +01:00
committed by GitHub
parent 536e835b39
commit 7a81ff55bc

View File

@@ -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