Run gen_requirements_all and hassfest in pre-commit (#32792)

Use generate mode for easy commit amendment with readily generated
files on failure.
This commit is contained in:
Ville Skyttä 2020-03-17 22:03:43 +02:00 committed by GitHub
parent 097b056324
commit e97d21aec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,3 +59,17 @@ repos:
types: [python]
require_serial: true
files: ^homeassistant/.+\.py$
- id: gen_requirements_all
name: gen_requirements_all
entry: python3 -m script.gen_requirements_all
pass_filenames: false
language: system
types: [json]
files: ^homeassistant/.+/manifest\.json$
- id: hassfest
name: hassfest
entry: python3 -m script.hassfest
pass_filenames: false
language: system
types: [json]
files: ^homeassistant/.+/manifest\.json$