|
|
@@ -18,10 +18,16 @@ jobs:
|
|
|
python -m pip install --upgrade pip
|
|
|
pip install -r requirements-dev.txt
|
|
|
- name: Python lint
|
|
|
- run: ruff check custom_components/tuya_local
|
|
|
+ run: |
|
|
|
+ echo "::add-matcher::ruff.json"
|
|
|
+ ruff check custom_components/tuya_local
|
|
|
+ echo "::remove-matcher owner=ruff::"
|
|
|
- name: Python include order
|
|
|
run: ruff check --select I --diff .
|
|
|
- name: Python coding style
|
|
|
run: ruff format --check --diff .
|
|
|
- name: YAML lint
|
|
|
- run: yamllint -f parsable custom_components/tuya_local/devices
|
|
|
+ run: |
|
|
|
+ echo "::add-matcher::yamllint.json"
|
|
|
+ yamllint -f parsable custom_components/tuya_local/devices
|
|
|
+ echo "::remove-matcher owner=yamllint::"
|