Skip to content

Commit

Permalink
🧐 Lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
cleanunicorn committed Mar 13, 2022
1 parent 17a8144 commit b1d1425
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions theo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ def private_key_to_account(pk: str):


def dump(ob=None, filename=None):
"""Dumps the provided object to a file in json format.
"""
"""Dumps the provided object to a file in json format."""
if filename is None:
filename = "{name}.json".format(name=time.time_ns())

Expand Down
4 changes: 1 addition & 3 deletions theo/interfaces/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ def main():
)

# Load exploits from file
parser.add_argument(
"--load-file", help="load exploit from file", default=None
)
parser.add_argument("--load-file", help="load exploit from file", default=None)

# Print version and exit
parser.add_argument(
Expand Down

0 comments on commit b1d1425

Please sign in to comment.