Skip to content

Commit

Permalink
Clean ups
Browse files Browse the repository at this point in the history
  • Loading branch information
bneijt committed May 18, 2021
1 parent 975771e commit affe9c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions poetry_lock_package/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def main():
logging.basicConfig(format="%(levelname)s: %(message)s", level=logging.INFO)

args = parse_arguments()
logging.info(args)

wheel = args.wheel
move = args.move
clean = args.clean
Expand Down Expand Up @@ -263,7 +263,7 @@ def create_or_update(project, should_create_tests: bool) -> str:
return lock_project_path


def create_tests(lock_project_path):
def create_tests(lock_project_path: str) -> None:
"""
Create a mock tests directory
Expand Down
4 changes: 1 addition & 3 deletions tests/test_util.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from typing import Counter

from poetry_lock_package.util import after, normalized_package_name


Expand All @@ -22,5 +20,5 @@ def inc_counter():
assert counter == 0
list(after(0, inc_counter))
assert counter == 0, "Still no reason to call"
a = list(after(1, inc_counter))
list(after(1, inc_counter))
assert counter == 1, "Should be called because we reached end of list"

0 comments on commit affe9c3

Please sign in to comment.