Fix lint
This commit is contained in:
parent
6473d64e40
commit
608ac89f06
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
|
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# We get various "abstract but not overridden" warnings
|
||||||
|
# pylint: disable=abstract-method
|
||||||
|
|
||||||
"""Bridge from QWebEngineSettings to our own settings.
|
"""Bridge from QWebEngineSettings to our own settings.
|
||||||
|
|
||||||
Module attributes:
|
Module attributes:
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
|
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# We get various "abstract but not overridden" warnings
|
||||||
|
# pylint: disable=abstract-method
|
||||||
|
|
||||||
"""Bridge from QWebSettings to our own settings.
|
"""Bridge from QWebSettings to our own settings.
|
||||||
|
|
||||||
Module attributes:
|
Module attributes:
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
|
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# We get various "abstract but not overridden" warnings
|
||||||
|
# pylint: disable=abstract-method
|
||||||
|
|
||||||
"""Bridge from QWeb(Engine)Settings to our own settings."""
|
"""Bridge from QWeb(Engine)Settings to our own settings."""
|
||||||
|
|
||||||
from qutebrowser.config import config
|
from qutebrowser.config import config
|
||||||
@ -49,8 +52,8 @@ class Base:
|
|||||||
the global instance.
|
the global instance.
|
||||||
|
|
||||||
Return:
|
Return:
|
||||||
A list of QWeb(Engine)Settings objects. The first one should be used
|
A list of QWeb(Engine)Settings objects. The first one should be
|
||||||
for reading.
|
used for reading.
|
||||||
"""
|
"""
|
||||||
if settings is None:
|
if settings is None:
|
||||||
return self._get_global_settings()
|
return self._get_global_settings()
|
||||||
|
@ -162,7 +162,8 @@ def run(files):
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument('files', nargs='*', default=['qutebrowser', 'scripts'])
|
parser.add_argument('files', nargs='*', default=['qutebrowser', 'scripts',
|
||||||
|
'setup.py'])
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
out = run(args.files)
|
out = run(args.files)
|
||||||
for line in out:
|
for line in out:
|
||||||
|
Loading…
Reference in New Issue
Block a user