diff --git a/.travis.yml b/.travis.yml index 5b918a393..3212142c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,7 +38,7 @@ matrix: # env: TESTENV=py35 OSX=yosemite # osx_image: xcode6.4 - os: linux - env: TESTENV=pylint PYTHON=python3.6 + env: TESTENV=pylint - os: linux env: TESTENV=flake8 - os: linux diff --git a/qutebrowser/browser/webkit/network/networkmanager.py b/qutebrowser/browser/webkit/network/networkmanager.py index 4c44ba887..0c3148ee4 100644 --- a/qutebrowser/browser/webkit/network/networkmanager.py +++ b/qutebrowser/browser/webkit/network/networkmanager.py @@ -21,7 +21,7 @@ import collections import html -import typing +import typing # pylint: disable=unused-import import attr from PyQt5.QtCore import (pyqtSlot, pyqtSignal, QCoreApplication, QUrl, @@ -29,7 +29,7 @@ from PyQt5.QtCore import (pyqtSlot, pyqtSignal, QCoreApplication, QUrl, from PyQt5.QtNetwork import QNetworkAccessManager, QNetworkReply, QSslSocket from qutebrowser.config import config -from qutebrowser.mainwindow import prompt +from qutebrowser.mainwindow import prompt # pylint: disable=unused-import from qutebrowser.utils import (message, log, usertypes, utils, objreg, urlutils, debug) from qutebrowser.browser import shared diff --git a/qutebrowser/commands/cmdutils.py b/qutebrowser/commands/cmdutils.py index 768cc430e..41e875202 100644 --- a/qutebrowser/commands/cmdutils.py +++ b/qutebrowser/commands/cmdutils.py @@ -20,7 +20,7 @@ """Contains various command utils and a global command dict.""" import inspect -import typing +import typing # pylint: disable=unused-import from qutebrowser.utils import qtutils, log from qutebrowser.commands import command, cmdexc diff --git a/qutebrowser/config/config.py b/qutebrowser/config/config.py index 41309d352..59df90ce8 100644 --- a/qutebrowser/config/config.py +++ b/qutebrowser/config/config.py @@ -33,7 +33,7 @@ from qutebrowser.keyinput import keyutils MYPY = False if MYPY: - from qutebrowser.config import configcache + from qutebrowser.config import configcache # pylint: disable=unused-import # An easy way to access the config from other code via config.val.foo val = typing.cast('ConfigContainer', None) diff --git a/qutebrowser/config/configtypes.py b/qutebrowser/config/configtypes.py index 38d952639..31eca988e 100644 --- a/qutebrowser/config/configtypes.py +++ b/qutebrowser/config/configtypes.py @@ -52,7 +52,7 @@ import datetime import functools import operator import json -import typing +import typing # pylint: disable=unused-import import attr import yaml diff --git a/qutebrowser/config/websettings.py b/qutebrowser/config/websettings.py index 659f793f8..e6d19db7e 100644 --- a/qutebrowser/config/websettings.py +++ b/qutebrowser/config/websettings.py @@ -19,7 +19,7 @@ """Bridge from QWeb(Engine)Settings to our own settings.""" -import typing +import typing # pylint: disable=unused-import from PyQt5.QtGui import QFont