Fix checks
This commit is contained in:
parent
5b7dc1afb7
commit
940b2d0860
@ -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
|
||||
|
@ -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_')
|
||||
|
||||
|
||||
|
@ -55,6 +55,7 @@ options = {
|
||||
'too-many-arguments',
|
||||
'too-many-locals',
|
||||
'global-statement',
|
||||
'no-init',
|
||||
],
|
||||
'flake8': [
|
||||
'E241', # Multiple spaces after ,
|
||||
|
Loading…
Reference in New Issue
Block a user