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'], 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): 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([ message = '\n'.join([
"Letter ack file does not contain all zip files sent." "Letter ack file does not contain all zip files sent."

View File

@@ -1,6 +1,6 @@
-r requirements.txt -r requirements.txt
flake8==4.0.1 flake8==4.0.1
flake8-bugbear==20.11.1 flake8-bugbear==22.1.11
isort==5.7.0 isort==5.7.0
moto==2.0.11 moto==2.0.11
pytest==6.1.2 pytest==6.1.2