pylint: Ignore import-error globally for tests.
This commit is contained in:
parent
150a83d8f4
commit
788a096150
@ -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]
|
||||
|
@ -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."""
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
import logging
|
||||
|
||||
import pytest
|
||||
import pytest_catchlog # pylint: disable=import-error
|
||||
import pytest_catchlog
|
||||
|
||||
|
||||
def test_log_debug():
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user