Skip to content

Commit

Permalink
Fix pre-commit hooks env for gen_requirements_all & hassfest (home-as…
Browse files Browse the repository at this point in the history
…sistant#33187)

* Run-in-env script.gen_requirements_all and hassfest in pre-commit

* Apply suggestions from code review and change `language` to script

Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
  • Loading branch information
azogue and scop authored Mar 25, 2020
1 parent 28c2f9c commit 44425a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ repos:
files: ^homeassistant/.+\.py$
- id: gen_requirements_all
name: gen_requirements_all
entry: python3 -m script.gen_requirements_all
entry: script/run-in-env.sh python3 -m script.gen_requirements_all
pass_filenames: false
language: system
language: script
types: [json]
files: ^homeassistant/.+/manifest\.json$
- id: hassfest
name: hassfest
entry: python3 -m script.hassfest
entry: script/run-in-env.sh python3 -m script.hassfest
pass_filenames: false
language: system
language: script
types: [json]
files: ^homeassistant/.+/manifest\.json$

0 comments on commit 44425a1

Please sign in to comment.