Fix checks

This commit is contained in:
Florian Bruhin 2014-02-07 11:01:58 +01:00
parent 5b7dc1afb7
commit 940b2d0860
3 changed files with 78 additions and 76 deletions

View File

@ -32,7 +32,7 @@ import qutebrowser.utils.harfbuzz as harfbuzz
harfbuzz.fix()
from PyQt5.QtWidgets import QApplication, QDialog
from PyQt5.QtCore import QUrl, QTimer
from PyQt5.QtCore import QTimer
import qutebrowser.commands.utils as cmdutils
import qutebrowser.utils.config as config

View File

@ -49,6 +49,7 @@ def handle(url):
def _transform_url(url):
"""Transform a special URL to an AboutHandlers method name."""
return url.replace('http://', '').replace('about:', 'about_')

View File

@ -55,6 +55,7 @@ options = {
'too-many-arguments',
'too-many-locals',
'global-statement',
'no-init',
],
'flake8': [
'E241', # Multiple spaces after ,