fix pep8 violations - errorlist.py

This commit is contained in:
Robert Blenis 2021-03-15 20:07:51 -04:00
parent d11f1a7454
commit df1014ec67
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