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