-
Notifications
You must be signed in to change notification settings - Fork 9
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
Updates for ansible-akamai #6
base: master
Are you sure you want to change the base?
Conversation
Update akamai.py with linting fixes, documentation and examples
@@ -1,29 +1,130 @@ | |||
#!/usr/bin/env python | |||
#!/usr/bin/python |
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 believe keeping /usr/bin/env python
will perform correctly but has an added advantage in some environments.
https://www.baeldung.com/linux/bash-shebang-lines.
Is there a specific reason to change it?
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.
Not a major preference, just following the ansible guidelines.
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.
Oddly enough, the ansible-core native modules don't include shebang at all. Example
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.
Looks good, even though my approval may not matter.
Remove whitespace before curly brackets and lower case edgegrid-python
Remove comment
* Update method arg to include the choices GET, POST, PUT * Update body arg to be type json instead of type str
@jacob-hudson please let me know what you think and if you'd like to see any changes. |
Update documentation, fix pylint and pycodestyle issues, remove python2 support, add python3 support