Add pylint to pre-commit hooks (#64665)

This commit is contained in:
Michael 2022-01-24 12:00:49 +01:00 committed by GitHub
parent 229b3175f3
commit a5eac99208
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,6 +95,12 @@ repos:
types: [python]
require_serial: true
files: ^homeassistant/.+\.py$
- id: pylint
name: pylint
entry: script/run-in-env.sh pylint -j 0
language: script
types: [python]
files: ^homeassistant/.+\.py$
- id: gen_requirements_all
name: gen_requirements_all
entry: script/run-in-env.sh python3 -m script.gen_requirements_all