Add information links to checks

This commit is contained in:
ludeeus
2020-05-26 16:47:09 +00:00
parent 19c9ffe67e
commit 562899f098
7 changed files with 7 additions and 0 deletions
+1
View File
@@ -12,6 +12,7 @@ TOKEN = os.getenv("GITHUB_TOKEN")
async def check():
print("Information: https://hacs.xyz/docs/publish/include#check-brands")
if get_category() != "integration":
print("Only integrations are checked.")
return
+1
View File
@@ -3,6 +3,7 @@ from scripts.helpers.hacs_manifest import get_hacs_manifest
def check():
print("Information: https://hacs.xyz/docs/publish/include#check-hacs-manifest")
if get_category() != "integration":
print("Only integrations are checked.")
return
+1
View File
@@ -3,6 +3,7 @@ from scripts.helpers.info import get_info
def check():
print("Information: https://hacs.xyz/docs/publish/include#check-images")
if get_category() not in ["plugin", "theme"]:
print("Only plugin and theme are checked.")
return
+1
View File
@@ -3,6 +3,7 @@ from scripts.helpers.info import get_info
def check():
print("Information: https://hacs.xyz/docs/publish/include#check-info")
info = get_info()
if not info:
print("No information provided.")
+1
View File
@@ -3,6 +3,7 @@ from scripts.helpers.manifest import get_manifest
def check():
print("Information: https://hacs.xyz/docs/publish/include#check-manifest")
if get_category() != "integration":
print("Only integrations are checked.")
return
+1
View File
@@ -10,6 +10,7 @@ TOKEN = os.getenv("GITHUB_TOKEN")
async def check():
print("Information: https://hacs.xyz/docs/publish/include#check-repository")
repo = get_repo()
issues = []
async with GitHub(TOKEN) as github:
+1
View File
@@ -12,6 +12,7 @@ TOKEN = os.getenv("GITHUB_TOKEN")
async def check():
print("Information: https://hacs.xyz/docs/publish/include#check-wheels")
if get_category() != "integration":
print("Only integrations are checked.")
return