Catch it when files are ignored by coverage but shouldn't (#41876)

This commit is contained in:
Paulus Schoutsen
2020-10-16 09:57:11 +02:00
committed by GitHub
parent 62343f87ad
commit 8bc47c0cd1
2 changed files with 92 additions and 5 deletions

View File

@@ -87,5 +87,5 @@ repos:
entry: script/run-in-env.sh python3 -m script.hassfest
pass_filenames: false
language: script
types: [json]
files: ^homeassistant/.+/(manifest|strings)\.json$
types: [text]
files: ^(homeassistant/.+/(manifest|strings)\.json|\.coveragerc)$