-
Notifications
You must be signed in to change notification settings - Fork 12
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 descriptions for plugins #56
base: devel
Are you sure you want to change the base?
Add descriptions for plugins #56
Conversation
9f9b356
to
d86e798
Compare
src/awx_plugins/inventory/plugins.py
Outdated
@@ -1,5 +1,5 @@ | |||
# FIXME: the following violations must be addressed gradually and unignored | |||
# mypy: disable-error-code="assignment, no-untyped-call, no-untyped-def, var-annotated" | |||
# mypy: disable-error-code='assignment, no-untyped-call, no-untyped-def, var-annotated' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming a misconfigured code editor made a bunch of invasive changes, eh?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ran black on this before I committed and it reformatted everything- I am going to pull out those changes today!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why didn't you run the automation that is integrated into the repo instead?
…ed descriptions and related functionality.
7af9475
to
ae262fa
Compare
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this still need to remain a draft?
P.S. Note that all of the revert+fixup+wip commit titles will end up on devel
.
plugin_description = None | ||
# this field is for the description of the injector |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, comments should be on the same line if possible:
plugin_description = None | |
# this field is for the description of the injector | |
plugin_description = None # this field holds the injector description |
This is because over time, the comment line and the code line may drift away from each other by accident. And the comments will end up being in weird places.
Add descriptions for plugins