fix pep8 violations in errorlist.py

This commit is contained in:
Robert Blenis 2021-03-13 11:39:43 -05:00
parent 96a138b226
commit 789908f13f
2 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,7 @@
from textwrap import indent
import borg.archiver
import borg.archiver # noqa: F401 - need import to get Error and ErrorWithTraceback subclasses.
from borg.helpers import Error, ErrorWithTraceback
classes = Error.__subclasses__() + ErrorWithTraceback.__subclasses__()

View File

@ -43,7 +43,6 @@ ignore = E226, W503
# flake8 failures that appear with your change.
per_file_ignores =
docs/conf.py:E121,E126,E265,E305,E401,E402
scripts/errorlist.py:F401
src/borg/archive.py:E122,E125,E127,E402,E501,F401,F405,W504
src/borg/archiver.py:E126,E127,E128,E501,E722,E731,E741,F401,F405,W504
src/borg/cache.py:E127,E128,E402,E501,E722,W504