Remove unused f-string

Since we still want to support Python 3.5 for a bit, we should avoid
f-strings until we finally drop support for that.
This commit is contained in:
Tobias Gruetzmacher 2020-09-28 22:19:48 +02:00
parent 7e040086b6
commit 0fe32e7562
2 changed files with 2 additions and 1 deletions

View file

@ -34,7 +34,7 @@ ARCHIVE_ORG_URL = re.compile(r'https?://web\.archive\.org/web/[^/]*/')
class GeoblockedException(IOError): class GeoblockedException(IOError):
def __init__(self): def __init__(self):
super().__init__(f'It seems your current location is geo-blocked.') super().__init__('It seems your current location is geo-blocked.')
class Scraper(object): class Scraper(object):

View file

@ -60,6 +60,7 @@ dev =
flake8-2020;python_version>'3.5' flake8-2020;python_version>'3.5'
flake8-coding flake8-coding
flake8-future-import flake8-future-import
flake8-no-fstring
flake8-pytest flake8-pytest
flake8-pytest-style;python_version>'3.5' flake8-pytest-style;python_version>'3.5'