Skip to content

Commit

Permalink
formatting the file
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishaan Agarwal authored and Ishaan Agarwal committed Sep 23, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 72870c7 commit cc40807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightly/api/serve.py
Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@ def do_OPTIONS(self) -> None:
self.send_header("Access-Control-Allow-Methods", "GET, POST, OPTIONS")
self.end_headers()

def send_response_only(self, code: int, message: str|None=None) -> None:
def send_response_only(self, code: int, message: str | None = None) -> None:

Check warning on line 45 in lightly/api/serve.py

Codecov / codecov/patch

lightly/api/serve.py#L45

Added line #L45 was not covered by tests
super().send_response_only(code, message)
self.send_header(
"Cache-Control", "no-store, must-revalidate, no-cache, max-age=-1"

0 comments on commit cc40807

Please sign in to comment.