Skip to content

Implement the possibility to update WidgetIdx in ClusterType to allow alignement with Domoticz Replace functionality #1349

Implement the possibility to update WidgetIdx in ClusterType to allow alignement with Domoticz Replace functionality

Implement the possibility to update WidgetIdx in ClusterType to allow alignement with Domoticz Replace functionality #1349

Workflow file for this run

name: Python check
on:
push:
branches:
- develop
- stable6
paths:
- "**.py"
pull_request:
paths:
- "**.py"
jobs:
lint_python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- run: pip install bandit black codespell flake8 isort mypy pytest pyupgrade
- run: bandit -r . || true
- run: black --check . || true
- run: codespell --quiet-level=2 --skip="./www" || true # --ignore-words-list=""
# `--builtins=Devices,Parameters` should be removed once domoticz/domoticz#4720 or simlar has been released
- run: flake8 . --builtins=Devices,Parameters,Connection --count --select=E9,F63,F7,F82 --show-source --statistics
- run: isort --check-only --profile black . || true
- run: pip install -r requirements.txt || true
- run: mypy --ignore-missing-imports . || true
- run: pytest . || true
- run: pytest --doctest-modules . || true
- run: shopt -s globstar && pyupgrade --py36-plus **/*.py || true