Skip to content

Commit 3598a28

Browse files
generatedunixname89002005307016meta-codesync[bot]
authored andcommitted
Remove unused type error suppressions
Summary: This diff was automatically generated by the Pyre per-target upgrade tool. It removes `# pyre-fixme` or `pyrefly: ignore` comments that are no longer needed because the underlying type errors have been resolved. Note that it will also aim to ensure type checking runs cleanly, and will add suppressions to existing type errors. Directories: cinderx/TestScripts, cinderx/UpstreamBorrow, cinderx/Interpreter, cinderx/Internal, cinderx/tools, cinderx/PythonBin, cinderx/oss_toplevel, cinderx/Jit #pyreupgrade Reviewed By: yoney Differential Revision: D114621180 fbshipit-source-id: e8f55be74bbef17d30be3383e56c0024ee238a94
1 parent 2575cb1 commit 3598a28

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

cinderx/TestScripts/update_hir_expected.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -461,19 +461,13 @@ def update_cpp_tests( # noqa: C901
461461
f"Invalid Python version format: {py_version}. Expected format: '3.X'"
462462
)
463463

464-
# pyre-fixme[53]: Captured variable `cpp_filename` is not annotated.
465-
# pyre-fixme[53]: Captured variable `lineno` is not annotated.
466-
# pyre-fixme[53]: Captured variable `state` is not annotated.
467464
def expect_state(estate: State) -> None:
468465
nonlocal state, lineno, cpp_filename
469466
if state is not estate:
470467
sys.exit(
471468
f"Expected state {estate} at {cpp_filename}:{lineno}, actual {state}"
472469
)
473470

474-
# pyre-fixme[53]: Captured variable `suite_name` is not annotated.
475-
# pyre-fixme[53]: Captured variable `test_dict` is not annotated.
476-
# pyre-fixme[53]: Captured variable `test_name` is not annotated.
477471
def expect_empty_test_dict() -> None:
478472
if test_dict is not None and len(test_dict) > 0:
479473
print(

cinderx/UpstreamBorrow/UpstreamBorrow.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ def __init__(
215215
self.version = version
216216
self.input_lines = []
217217
self.output_lines = []
218-
# pyre-ignore[8]: Incompatible attribute type
219218
self.needed = defaultdict(lambda: defaultdict(set))
220219
self.decls = defaultdict(dict)
221220

0 commit comments

Comments
 (0)