diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b8d81856f3c..30756ddb501 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -689,7 +689,7 @@ jobs: run: | . venv/bin/activate python --version - mypy homeassistant + mypy homeassistant pylint - name: Run mypy (partially) if: needs.changes.outputs.test_full_suite == 'false' shell: bash diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ff00ce07e0c..1104ecf07e9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -93,7 +93,7 @@ repos: language: script types: [python] require_serial: true - files: ^homeassistant/.+\.py$ + files: ^(homeassistant|pylint)/.+\.py$ - id: pylint name: pylint entry: script/run-in-env.sh pylint -j 0