Skip to content

Commit

Permalink
mypy fixes for manifest_reader
Browse files Browse the repository at this point in the history
  • Loading branch information
onewland committed Sep 10, 2024
1 parent 08d33c6 commit a89f287
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion snuba/manual_jobs/manifest_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@


class _ManifestReader:
def read(filename) -> Sequence[Any]:
@staticmethod
def read(filename: str) -> Sequence[Any]:
local_root = os.path.dirname(__file__)
with open(os.path.join(local_root, filename)) as stream:
contents = simplejson.loads(stream.read())
Expand Down

0 comments on commit a89f287

Please sign in to comment.