mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-12 16:22:17 -05:00
flake8 fixes
a stricter flake8 bump. mostly things around f strings and format strings, but a couple of bad placeholder names in loops
This commit is contained in:
@@ -244,7 +244,7 @@ def validate_address(service, letter_data):
|
||||
if not address.has_valid_last_line:
|
||||
if address.allow_international_letters:
|
||||
raise ValidationError(
|
||||
message=f'Last line of address must be a real UK postcode or another country'
|
||||
message='Last line of address must be a real UK postcode or another country'
|
||||
)
|
||||
raise ValidationError(
|
||||
message='Must be a real UK postcode'
|
||||
|
||||
Reference in New Issue
Block a user