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