From a89f2877eb2c7596fba2db61df3b8d9baf7aee1e Mon Sep 17 00:00:00 2001 From: Oliver Newland Date: Mon, 9 Sep 2024 20:00:38 -0700 Subject: [PATCH] mypy fixes for manifest_reader --- snuba/manual_jobs/manifest_reader.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snuba/manual_jobs/manifest_reader.py b/snuba/manual_jobs/manifest_reader.py index 43dd8b6368..9756f0c5d2 100644 --- a/snuba/manual_jobs/manifest_reader.py +++ b/snuba/manual_jobs/manifest_reader.py @@ -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())