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

add patches arguments description #144

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

petitminion
Copy link
Contributor

No description provided.

Copy link
Member

@mayhem mayhem left a comment

Choose a reason for hiding this comment

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

A couple of minor changes, please. And thanks for the PR!

@@ -54,14 +54,17 @@ def inputs():
"args": ["mode"],
"kwargs": {
"required": True,
"nargs": 1
"nargs": 1,
"help-text": "Which mode to generate playlists in. Must be one of easy, mediumedium, hard",
Copy link
Member

Choose a reason for hiding this comment

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

Oops, typo. "mediumedium"

}
}, {
"type": "argument",
"args": ["prompt"],
"kwargs": {
"required": True,
"nargs": 1
"nargs": 1,
"help-text": "The LB radio prompt. See troi/parse_prompt.py for details.",
Copy link
Member

Choose a reason for hiding this comment

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

A better link for docs is this one: https://troi.readthedocs.io/en/latest/lb_radio.html

@@ -20,9 +20,9 @@ def inputs():
to LB again which is many times not desirable.
"""
return [
{"type": "argument", "args": ["mbid"], "kwargs": {"required": False}},
{"type": "argument", "args": ["mbid"], "kwargs": {"required": False, "help-text": "the playlist mbid to save."}},
Copy link
Member

Choose a reason for hiding this comment

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

Please reformat this block too, now grown too large.

@petitminion
Copy link
Contributor Author

can you recall me which linter your're using ? Autopepe8 change various part of the code so I suppose you have another one or custom rules ?

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.

2 participants