Check & fix git repository integrity (#2245)

* Check & fix git repository integrity

* fix typing

* New style error handling

* Fix return

* tag more issue

* Fix black
This commit is contained in:
Pascal Vizeli
2020-11-13 08:35:45 +01:00
committed by GitHub
parent c209d2fa8d
commit e4bf820038
5 changed files with 83 additions and 36 deletions

View File

@@ -295,7 +295,18 @@ class ResolutionNotFound(ResolutionError):
"""Raise if suggestion/issue was not found."""
# Job
# Store
class StoreError(HassioError):
"""Raise if an error on store is happening."""
class StoreGitError(StoreError):
"""Raise if something on git is happening."""
# JobManager
class JobException(HassioError):