From 76f61c18566993d03ef2015bedd76d69fd4c165d Mon Sep 17 00:00:00 2001 From: Jim Bosch Date: Thu, 25 Jul 2024 10:54:26 -0400 Subject: [PATCH] Drop now-unnecessary 'type: ignore'. --- python/lsst/pipe/base/pipeline_graph/__main__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python/lsst/pipe/base/pipeline_graph/__main__.py b/python/lsst/pipe/base/pipeline_graph/__main__.py index d1f54863..aed7749e 100644 --- a/python/lsst/pipe/base/pipeline_graph/__main__.py +++ b/python/lsst/pipe/base/pipeline_graph/__main__.py @@ -87,9 +87,7 @@ def main(argv: Sequence[str]) -> int: stream = sys.stdout else: path = ResourcePath(args.show) - # ResourcePath.open doesn't have the kind of mode overloading - # necessary to make the return type clear enough for MyPy. - stream = stack.enter_context(path.open("r")) # type: ignore + stream = stack.enter_context(path.open("r")) show( pipeline_graph, stream,