Remove old pylint disable comments
This commit is contained in:
parent
aac0031ba7
commit
b617f1e03c
@ -1090,10 +1090,10 @@ class WebEngineTab(browsertab.AbstractTab):
|
|||||||
# percent encoded content is 2 megabytes minus 30 bytes.
|
# percent encoded content is 2 megabytes minus 30 bytes.
|
||||||
self._widget.setHtml(html, base_url)
|
self._widget.setHtml(html, base_url)
|
||||||
|
|
||||||
def networkaccessmanager(self): # pylint: disable=useless-return
|
def networkaccessmanager(self):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def user_agent(self): # pylint: disable=useless-return
|
def user_agent(self):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def clear_ssl_errors(self):
|
def clear_ssl_errors(self):
|
||||||
|
@ -576,7 +576,7 @@ def read_autoconfig():
|
|||||||
"""Read the autoconfig.yml file."""
|
"""Read the autoconfig.yml file."""
|
||||||
try:
|
try:
|
||||||
config.instance.read_yaml()
|
config.instance.read_yaml()
|
||||||
except configexc.ConfigFileErrors: # pylint: disable=try-except-raise
|
except configexc.ConfigFileErrors:
|
||||||
raise # caught in outer block
|
raise # caught in outer block
|
||||||
except configexc.Error as e:
|
except configexc.Error as e:
|
||||||
desc = configexc.ConfigErrorDesc("Error", e)
|
desc = configexc.ConfigErrorDesc("Error", e)
|
||||||
|
@ -246,7 +246,7 @@ class WrapperLayout(QLayout):
|
|||||||
def sizeHint(self):
|
def sizeHint(self):
|
||||||
return self._widget.sizeHint()
|
return self._widget.sizeHint()
|
||||||
|
|
||||||
def itemAt(self, _index): # pylint: disable=useless-return
|
def itemAt(self, _index):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def takeAt(self, _index):
|
def takeAt(self, _index):
|
||||||
@ -287,7 +287,7 @@ class PseudoLayout(QLayout):
|
|||||||
def count(self):
|
def count(self):
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
def itemAt(self, _pos): # pylint: disable=useless-return
|
def itemAt(self, _pos):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def widget(self):
|
def widget(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user