Fix lint
This commit is contained in:
parent
0ddb27709d
commit
23ce4561c8
@ -57,6 +57,7 @@ class WebInspector(QWidget):
|
|||||||
self._load_state_geometry()
|
self._load_state_geometry()
|
||||||
|
|
||||||
def load(self):
|
def load(self):
|
||||||
|
"""Set up the inspector."""
|
||||||
envvar = 'QTWEBENGINE_REMOTE_DEBUGGING'
|
envvar = 'QTWEBENGINE_REMOTE_DEBUGGING'
|
||||||
if envvar not in os.environ:
|
if envvar not in os.environ:
|
||||||
raise WebInspectorError(
|
raise WebInspectorError(
|
||||||
|
@ -48,7 +48,7 @@ class Base:
|
|||||||
the global instance.
|
the global instance.
|
||||||
"""
|
"""
|
||||||
if settings is None:
|
if settings is None:
|
||||||
return self.GLOBAL_SETTINGS()
|
return self.GLOBAL_SETTINGS() # pylint: disable=not-callable
|
||||||
else:
|
else:
|
||||||
return settings
|
return settings
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
import json
|
import json
|
||||||
import socket
|
|
||||||
import os.path
|
import os.path
|
||||||
import http.client
|
import http.client
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user