fix: add type annotations to __exit__ context manager (pyright)
lint / lint (push) Successful in 1m47s
test / unit (pull_request) Successful in 43s
test / integration (pull_request) Successful in 16s

This commit is contained in:
2026-06-25 14:27:47 -04:00
committed by didericis
parent c6479d62e4
commit 45a096413f
+1 -1
View File
@@ -448,7 +448,7 @@ class TestHandleListEgressRoutes(unittest.TestCase):
def __enter__(self): def __enter__(self):
return self return self
def __exit__(self, exc_type, exc, tb): def __exit__(self, exc_type: type[BaseException] | None, exc: BaseException | None, tb: object) -> bool:
return False return False
def read(self): def read(self):