From 1d237b0569e4ab67def3b815b03747fde7254bd2 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 11 Jul 2016 13:00:37 +0200 Subject: [PATCH] pylint: ignore wrong-import-position project-wide While it's more accurate with isort now, we get a wrong-import-position for everything in scripts/ where we have to do the sys.path magic first. --- .pylintrc | 3 ++- qutebrowser/utils/typing.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.pylintrc b/.pylintrc index 92720e3a4..28ca48a69 100644 --- a/.pylintrc +++ b/.pylintrc @@ -34,7 +34,8 @@ disable=no-self-use, redefined-variable-type, suppressed-message, too-many-return-statements, - duplicate-code + duplicate-code, + wrong-import-position [BASIC] function-rgx=[a-z_][a-z0-9_]{2,50}$ diff --git a/qutebrowser/utils/typing.py b/qutebrowser/utils/typing.py index f4b0dd990..4e20c91e3 100644 --- a/qutebrowser/utils/typing.py +++ b/qutebrowser/utils/typing.py @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with qutebrowser. If not, see . -# pylint: disable=unused-import,wrong-import-position,bad-mcs-method-argument +# pylint: disable=unused-import,bad-mcs-method-argument """Wrapper for Python 3.5's typing module.