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

chore(deps-dev): bump mypy from 0.942 to 0.950 #1162

Merged
merged 2 commits into from
Apr 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions aws_lambda_powertools/utilities/batch/sqs.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ def _clean(self) -> Optional[List]:
return None

queue_url = self._get_queue_url()
if queue_url is None:
logger.debug("No queue url found")
return None

entries_to_remove = self._get_entries_to_clean()
# Batch delete up to 10 messages at a time (SQS limit)
max_workers = math.ceil(len(entries_to_remove) / self.max_message_batch)
Expand Down
52 changes: 26 additions & 26 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ flake8-eradicate = "^1.2.1"
flake8-bugbear = "^22.1.11"
mkdocs-git-revision-date-plugin = "^0.3.2"
mike = "^0.6.0"
mypy = "^0.942"
mypy = "^0.950"
mkdocs-material = "^8.2.7"


Expand Down