Remove more useless-return suppressions

This commit is contained in:
Florian Bruhin 2018-08-19 10:49:46 +02:00
parent 9a4f3dae63
commit a370a00194
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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):