Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix galaxy.yaml #56

Closed
wants to merge 10 commits into from
Closed

Fix galaxy.yaml #56

wants to merge 10 commits into from

Conversation

jakubrak
Copy link
Contributor

No description provided.

@jakubrak jakubrak requested a review from WStechura December 12, 2024 11:18
@jakubrak jakubrak force-pushed the fix-license-in0galaxy.yaml branch from 36d5e26 to 1faa556 Compare December 12, 2024 11:19
@jakubrak jakubrak force-pushed the fix-license-in0galaxy.yaml branch 3 times, most recently from 567db21 to ba1ba91 Compare December 13, 2024 09:04
@WStechura WStechura force-pushed the fix-license-in0galaxy.yaml branch 3 times, most recently from f8a8abd to a00f64a Compare December 19, 2024 16:56
@WStechura WStechura force-pushed the fix-license-in0galaxy.yaml branch from 7dab871 to bab88ea Compare December 20, 2024 10:58
@@ -42,7 +42,7 @@


def is_local_deployment(platforms: PlatformCollection) -> bool:
return any("localhost" in hosts for _, hosts in platforms.items())
return any("localhost" in hosts for platform, hosts in platforms.items())
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't like this ;) Isn't pep8 checker throwing error on this?

@@ -54,7 +54,7 @@ def parse_platforms_from_options(
if key in deployment_platforms and hosts:
if "localhost" in hosts:
logging.info(
f"Local deployment detected for {key}, only this host will be used")
"Local deployment detected for %s, only this host will be used", key)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is wrong, F-strings are much better sine python3.7. Maybe something went wrong with pytlint settings

@@ -18,13 +18,17 @@ saveToConfig() {
while [ $# -gt 0 ]; do
# example command: --set-host-property=TENANT=tenant1
# setter: --set-host-property
local setter="$(cutVariable "${1}" "=" 1)"
local setter
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be this way?

galaxy.yml Show resolved Hide resolved
@jakubrak jakubrak closed this Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants