updating to latest
This commit is contained in:
10
custom_components/hacs/validate/common/hacs_manifest.py
Normal file
10
custom_components/hacs/validate/common/hacs_manifest.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from custom_components.hacs.validate.base import (
|
||||
ActionValidationBase,
|
||||
ValidationException,
|
||||
)
|
||||
|
||||
|
||||
class HacsManifest(ActionValidationBase):
|
||||
def check(self):
|
||||
if "hacs.json" not in [x.filename for x in self.repository.tree]:
|
||||
raise ValidationException("The repository has no 'hacs.json' file")
|
||||
Reference in New Issue
Block a user