Skip to content

Commit

Permalink
fix lint with flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayush5120 committed Aug 3, 2023
1 parent a6ba3b7 commit 95af3d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion pro_tes/middleware/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ def set_request(self, request: requests.Request, *args, **kwargs):
pro_tes.exceptions.NoTesInstancesAvailable: If no valid TES
instances are available.
"""

self.tes_uris = self._set_url()

if self.tes_uris:
Expand Down
2 changes: 2 additions & 0 deletions pro_tes/middleware/middleware_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@

class MiddlewarePipeline:
"""Middleware pipeline."""

def __init__(self, middlewares=None):
"""Construct object instance."""
self.middlewares = middlewares or []
logger.info(f"middleware: {self.middlewares}")

Expand Down

0 comments on commit 95af3d3

Please sign in to comment.