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

Changes to comply with PEP8 #193

Closed
wants to merge 5 commits into from
Closed

Changes to comply with PEP8 #193

wants to merge 5 commits into from

Conversation

simplyrohan
Copy link

@simplyrohan simplyrohan commented Jun 18, 2022

Changes to make code cleaner and to comply with PEP8. #30

@@ -42,8 +43,15 @@ def _request(self, url, method='GET', params={}, headers={}, stream=False, raw=F
req_log.propagate = True
"""

if params in None:

Choose a reason for hiding this comment

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

Change in to is

@prjemian
Copy link

This PR would be easier to review if the code refactoring was separate from the changes for PEP8 compliance. Python black could be used to make code style more consistent.

@@ -20,11 +20,14 @@
import sys

if sys.version[0] == '2':
Copy link
Owner

Choose a reason for hiding this comment

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

If we're not going to support python 2, I'd prefer all the related code just be removed rather than commented out.

@simplyrohan simplyrohan closed this by deleting the head repository Aug 13, 2023
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