mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-19 15:16:33 +00:00
Fix lint p2
This commit is contained in:
parent
906616e224
commit
e0dcce5895
@ -79,11 +79,11 @@ class AddonsRepoHassIO(AddonsRepo):
|
||||
|
||||
def __init__(self, config, loop):
|
||||
"""Initialize git hassio addon repository."""
|
||||
super()__init__(
|
||||
super().__init__(
|
||||
config, loop, config.path_addons_repo, URL_HASSIO_ADDONS)
|
||||
|
||||
|
||||
class AddonsRepoCustom(AddonsRepo)
|
||||
class AddonsRepoCustom(AddonsRepo):
|
||||
"""Custom addons repository."""
|
||||
|
||||
def __init__(self, config, loop, url, slug=None):
|
||||
|
@ -34,7 +34,7 @@ API_ENDPOINT = 'api_endpoint'
|
||||
SCHEMA_CONFIG = vol.Schema({
|
||||
vol.Optional(
|
||||
HOMEASSISTANT_IMAGE,
|
||||
default=os.environ.get('HOMEASSISTANT_REPOSITORY'):
|
||||
default=os.environ.get('HOMEASSISTANT_REPOSITORY')):
|
||||
vol.Coerce(str),
|
||||
vol.Optional(UPSTREAM_BETA, default=False): vol.Boolean(),
|
||||
vol.Optional(API_ENDPOINT): vol.Coerce(str),
|
||||
|
Loading…
x
Reference in New Issue
Block a user