mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Add spaces for readability in licenses.py (#123173)
This commit is contained in:
parent
d246d02ab8
commit
e9e357b12e
@ -208,7 +208,7 @@ def main() -> int:
|
|||||||
if previous_unapproved_version < package.version:
|
if previous_unapproved_version < package.version:
|
||||||
if approved:
|
if approved:
|
||||||
print(
|
print(
|
||||||
"Approved license detected for"
|
"Approved license detected for "
|
||||||
f"{package.name}@{package.version}: {package.license}"
|
f"{package.name}@{package.version}: {package.license}"
|
||||||
)
|
)
|
||||||
print("Please remove the package from the TODO list.")
|
print("Please remove the package from the TODO list.")
|
||||||
@ -222,14 +222,14 @@ def main() -> int:
|
|||||||
exit_code = 1
|
exit_code = 1
|
||||||
elif not approved and package.name not in EXCEPTIONS:
|
elif not approved and package.name not in EXCEPTIONS:
|
||||||
print(
|
print(
|
||||||
"We could not detect an OSI-approved license for"
|
"We could not detect an OSI-approved license for "
|
||||||
f"{package.name}@{package.version}: {package.license}"
|
f"{package.name}@{package.version}: {package.license}"
|
||||||
)
|
)
|
||||||
print()
|
print()
|
||||||
exit_code = 1
|
exit_code = 1
|
||||||
elif approved and package.name in EXCEPTIONS:
|
elif approved and package.name in EXCEPTIONS:
|
||||||
print(
|
print(
|
||||||
"Approved license detected for"
|
"Approved license detected for "
|
||||||
f"{package.name}@{package.version}: {package.license}"
|
f"{package.name}@{package.version}: {package.license}"
|
||||||
)
|
)
|
||||||
print(f"Please remove the package from the EXCEPTIONS list: {package.name}")
|
print(f"Please remove the package from the EXCEPTIONS list: {package.name}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user