mirror of
https://github.com/home-assistant/core
synced 2024-09-06 10:29:55 +02:00
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:
parent
536e835b39
commit
7a81ff55bc
@ -62,7 +62,7 @@ stages:
|
|||||||
displayName: "Run bandit"
|
displayName: "Run bandit"
|
||||||
- script: |
|
- script: |
|
||||||
. venv/bin/activate
|
. 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"
|
displayName: "Run isort"
|
||||||
- script: |
|
- script: |
|
||||||
. venv/bin/activate
|
. venv/bin/activate
|
||||||
|
Loading…
Reference in New Issue
Block a user