From df1014ec67859e93c35f569a8bd38fb23e94a861 Mon Sep 17 00:00:00 2001 From: Robert Blenis Date: Mon, 15 Mar 2021 20:07:51 -0400 Subject: [PATCH] fix pep8 violations - errorlist.py --- scripts/errorlist.py | 2 +- setup.cfg | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/errorlist.py b/scripts/errorlist.py index bd33faf44..c4a0e7a0e 100755 --- a/scripts/errorlist.py +++ b/scripts/errorlist.py @@ -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__() diff --git a/setup.cfg b/setup.cfg index bf1b38df5..eb08932b4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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