Remove more useless-return suppressions
This commit is contained in:
parent
9a4f3dae63
commit
a370a00194
@ -68,7 +68,7 @@ class FakeNode:
|
||||
def __init__(self, call):
|
||||
self.rep_call = call
|
||||
|
||||
def get_closest_marker(self, _name): # pylint: disable=useless-return
|
||||
def get_closest_marker(self, _name):
|
||||
return None
|
||||
|
||||
|
||||
|
@ -44,7 +44,7 @@ class FakeNetworkCache(QAbstractNetworkCache):
|
||||
def cacheSize(self):
|
||||
return 0
|
||||
|
||||
def data(self, _url): # pylint: disable=useless-return
|
||||
def data(self, _url):
|
||||
return None
|
||||
|
||||
def insert(self, _dev):
|
||||
@ -53,7 +53,7 @@ class FakeNetworkCache(QAbstractNetworkCache):
|
||||
def metaData(self, _url):
|
||||
return QNetworkCacheMetaData()
|
||||
|
||||
def prepare(self, _metadata): # pylint: disable=useless-return
|
||||
def prepare(self, _metadata):
|
||||
return None
|
||||
|
||||
def remove(self, _url):
|
||||
|
Loading…
Reference in New Issue
Block a user