Update flake8-bugbear from 20.11.1 to 22.1.11

And ignore a warning, since I did not think that in this case "Using
.strip() with multi-character strings is misleading the reader".
This commit is contained in:
Katie Smith
2022-03-02 16:51:09 +00:00
parent 807db037eb
commit 514bd48614
2 changed files with 2 additions and 2 deletions

View File

@@ -255,7 +255,7 @@ def letter_raise_alert_if_no_ack_file_for_zip():
for key in s3.get_list_of_files_by_suffix(bucket_name=current_app.config['DVLA_RESPONSE_BUCKET_NAME'],
subfolder='root/dispatch', suffix='.ACK.txt', last_modified=yesterday):
ack_file_set.add(key.lstrip('root/dispatch').upper().replace('.ACK.TXT', ''))
ack_file_set.add(key.lstrip('root/dispatch').upper().replace('.ACK.TXT', '')) # noqa
message = '\n'.join([
"Letter ack file does not contain all zip files sent."