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

Avoid repeating input argument when it is mentioned as positional #10

Merged
merged 1 commit into from
Jun 20, 2022

Conversation

felixfontein
Copy link
Collaborator

Basically fixes ansible/ansible#77725 on our side. (I still think this is wrong and should be highlighted by a linter, but there is no linter and if core doesn't change it, we have to accept it as-is...)

@felixfontein felixfontein changed the title Avoid repeating input argument when it is mentioned as positional. Avoid repeating input argument when it is mentioned as positional Jun 18, 2022
Copy link
Contributor

@briantist briantist left a comment

Choose a reason for hiding this comment

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

I also think _input being treated as positional is wrong (commented in detail on the other PR), but if it doesn't go our way, I approve of this implementation of that decision (we should wait until that one is decided I guess?)

@felixfontein
Copy link
Collaborator Author

It's also worth having this merged as there's no linting tool that prevents collection maintainers from doing the same. (They'll likely then complain that we render the docs wrongly...)

@felixfontein felixfontein merged commit e6e25bc into ansible-community:main Jun 20, 2022
@felixfontein felixfontein deleted the input-positional branch June 20, 2022 05:56
@felixfontein
Copy link
Collaborator Author

@briantist thanks for reviewing this!

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