DeepSource Fixing Antipatterns

This commit is contained in:
Michał Gdula 2023-04-02 16:50:52 +00:00
parent 1152856f2a
commit 7b97b8e0ef
11 changed files with 177 additions and 185 deletions

View file

@ -9,7 +9,7 @@ class OnlyLegs(Application):
"""
Gunicorn application
"""
def __init__(self, options={}): # pylint: disable=W0102, W0231
def __init__(self, options={}): # pylint: disable=W0102, W0231 # noqa
self.usage = None
self.callable = None
self.options = options
@ -25,7 +25,7 @@ class OnlyLegs(Application):
cfg[setting.lower()] = value
return cfg
def prog(self): # pylint: disable=C0116, E0202
def prog(self): # pylint: disable=C0116, E0202 # noqa
return 'OnlyLegs'
def load(self):