mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Show diff on ruff failure [ci] (#87635)
This commit is contained in:
parent
b854dd99fc
commit
785b949a82
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -350,14 +350,14 @@ jobs:
|
||||
if: needs.info.outputs.test_full_suite == 'true'
|
||||
run: |
|
||||
. venv/bin/activate
|
||||
pre-commit run --hook-stage manual ruff --all-files
|
||||
pre-commit run --hook-stage manual ruff --all-files --show-diff-on-failure
|
||||
- name: Run ruff (partially)
|
||||
if: needs.info.outputs.test_full_suite == 'false'
|
||||
shell: bash
|
||||
run: |
|
||||
. venv/bin/activate
|
||||
shopt -s globstar
|
||||
pre-commit run --hook-stage manual ruff --files {homeassistant,tests}/components/${{ needs.info.outputs.integrations_glob }}/{*,**/*}
|
||||
pre-commit run --hook-stage manual ruff --files {homeassistant,tests}/components/${{ needs.info.outputs.integrations_glob }}/{*,**/*} --show-diff-on-failure
|
||||
|
||||
lint-isort:
|
||||
name: Check isort
|
||||
|
Loading…
x
Reference in New Issue
Block a user