Skip to content

Commit

Permalink
pylint: shut up about method-scope cyclic import
Browse files Browse the repository at this point in the history
  • Loading branch information
pajod committed Apr 22, 2024
1 parent 514ce0b commit 8993b47
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gunicorn/app/wsgiapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

class WSGIApplication(Application):
def init(self, parser, opts, args):
# pylint: disable=cyclic-import

self.app_uri = None

if opts.paste:
Expand Down Expand Up @@ -48,6 +50,8 @@ def load_wsgiapp(self):
return util.import_app(self.app_uri)

def load_pasteapp(self):
# pylint: disable=cyclic-import

from .pasterapp import get_wsgi_app
return get_wsgi_app(self.app_uri, defaults=self.cfg.paste_global_conf)

Expand Down

0 comments on commit 8993b47

Please sign in to comment.