Skip to content

Commit

Permalink
mypy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andgineer committed Sep 10, 2021
1 parent c4331b6 commit f9ca66f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bombard/request_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def main_thread() -> None:
thread_data.colour = OFF


def sending(thread_id, request_id, request_name) -> None:
def sending(thread_id: int, request_id: str, request_name: str) -> None:
"""
Start sending request
"""
Expand Down
2 changes: 1 addition & 1 deletion bombard/weaver_mill.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def thread_worker(self, thread_id: int) -> None:
Job == None is a signal to stop work.
"""
while True:
job = deepcopy(self.queue.get())
job: Optional[Dict[str, Any]] = deepcopy(self.queue.get())
if job is None:
break
try:
Expand Down

0 comments on commit f9ca66f

Please sign in to comment.