Skip to content

Commit

Permalink
Fix security and lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
madeddie committed Apr 16, 2019
1 parent 510b89e commit 7ac26c9
Show file tree
Hide file tree
Showing 2 changed files with 145 additions and 73 deletions.
215 changes: 143 additions & 72 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion dveo/api.py
Expand Up @@ -65,7 +65,8 @@ def __init__(
requests.urllib3.exceptions.InsecureRequestWarning
)

def _string2bool(self, string):
@staticmethod
def _string2bool(string):
"""Converts 'true' to True, 'false' to False and returns anything else."""
if string == "true":
return True
Expand Down

0 comments on commit 7ac26c9

Please sign in to comment.