We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a9dcd5 commit d4d3144Copy full SHA for d4d3144
.pre-commit-config.yaml
@@ -83,10 +83,12 @@ repos:
83
- repo: local
84
hooks:
85
- id: parsetest
86
- name: "parsetest"
+ name: "Generate AirOS Fixtures"
87
entry: script/run-in-env.sh python script/generate_ha_fixture.py
88
language: script
89
types: [python]
90
+ # Run when Python changes (to refresh against code changes) and when userdata JSON changes
91
+ files: ^(airos|tests|script)/.+\.py$|^fixtures/userdata/.+\.json$
92
pass_filenames: false
93
- id: pytest
94
name: "pytest"
0 commit comments