pylint: Ignore import-error globally for tests.

This commit is contained in:
Florian Bruhin 2015-12-01 20:58:08 +01:00
parent 150a83d8f4
commit 788a096150
4 changed files with 5 additions and 3 deletions

View File

@ -56,6 +56,8 @@ def main():
'protected-access',
# https://bitbucket.org/logilab/pylint/issue/511/
'undefined-variable',
# directories without __init__.py...
'import-error',
]
toxinidir = sys.argv[1]

View File

@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
# pylint: disable=unused-import,import-error
# pylint: disable=unused-import
"""The qutebrowser test suite conftest file."""

View File

@ -23,7 +23,7 @@
import logging
import pytest
import pytest_catchlog # pylint: disable=import-error
import pytest_catchlog
def test_log_debug():

View File

@ -23,7 +23,7 @@ import re
import os
import time
import pytestqt.plugin # pylint: disable=import-error
import pytestqt.plugin
from PyQt5.QtCore import pyqtSlot, pyqtSignal, QProcess, QObject, QElapsedTimer
from PyQt5.QtTest import QSignalSpy