mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
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:
parent
097b056324
commit
e97d21aec0
@ -59,3 +59,17 @@ repos:
|
|||||||
types: [python]
|
types: [python]
|
||||||
require_serial: true
|
require_serial: true
|
||||||
files: ^homeassistant/.+\.py$
|
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$
|
||||||
|
Loading…
x
Reference in New Issue
Block a user