Skip to content

Commit

Permalink
Run gen_requirements_all and hassfest in pre-commit (home-assistant#3…
Browse files Browse the repository at this point in the history
…2792)

Use generate mode for easy commit amendment with readily generated
files on failure.
  • Loading branch information
scop authored Mar 17, 2020
1 parent 097b056 commit e97d21a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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$

0 comments on commit e97d21a

Please sign in to comment.