Follow DeepSource reccommendations

Nolonger binding to the address, by default it is always localhost
This commit is contained in:
Michał Gdula 2023-04-02 23:20:34 +00:00
parent 6f759bb678
commit 36a7f83db6
7 changed files with 15 additions and 22 deletions

View file

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