Fix flake8 and isort errors

Note, isort now has default behaviour of searching recursively so we no
longer need the `-rc` flag
This commit is contained in:
David McDonald
2021-03-08 15:36:23 +00:00
parent 2745fb70d8
commit 3e80ba4734
18 changed files with 32 additions and 32 deletions

View File

@@ -1354,14 +1354,14 @@ class LetterAddressForm(StripWhitespaceForm):
if not address.has_valid_last_line:
if self.allow_international_letters:
raise ValidationError(
f'Last line of the address must be a UK postcode or another country'
'Last line of the address must be a UK postcode or another country'
)
if address.international:
raise ValidationError(
f'You do not have permission to send letters to other countries'
'You do not have permission to send letters to other countries'
)
raise ValidationError(
f'Last line of the address must be a real UK postcode'
'Last line of the address must be a real UK postcode'
)
if address.has_invalid_characters: