Skip to content

Commit f38b746

Browse files
generatedunixname89002005307016facebook-github-bot
authored andcommitted
Add missing Pyre mode headers] [batch:30/N] [shard:10/N] [A]
Differential Revision: D78832909 fbshipit-source-id: bf3d764771f29b97f3d36325311e598fdb921777
1 parent a7def89 commit f38b746

10 files changed

Lines changed: 20 additions & 0 deletions

File tree

PythonLib/test_cinderx/test_compiler/test_static/variadic_arg.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
3+
# pyre-unsafe
24
from cinderx.compiler.errors import TypedSyntaxError
35

46
from .common import StaticTestBase

PythonLib/test_cinderx/test_compiler/test_static/walrus_operator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
3+
# pyre-unsafe
24
from cinderx.compiler.errors import TypedSyntaxError
35

46
from .common import bad_ret_type, StaticTestBase

PythonLib/test_cinderx/test_compiler/test_strict/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Copyright (c) Meta Platforms, Inc. and affiliates.
22
# flake8: noqa
3+
4+
# pyre-unsafe
35
import sys
46

57
from .test_flag_extractor import FlagExtractorTest

PythonLib/test_cinderx/test_compiler/test_strict/sandbox.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
3+
# pyre-unsafe
24
from __future__ import annotations
35

46
import sys

PythonLib/test_cinderx/test_compiler/test_strict/test_flag_extractor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
3+
# pyre-unsafe
24
import ast
35
from textwrap import dedent
46
from typing import final

PythonLib/test_cinderx/test_compiler/test_strict/test_loader.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
3+
# pyre-unsafe
24
from __future__ import annotations
35

46
import _imp

PythonLib/test_cinderx/test_compiler/test_strict/test_remove_annotations.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
3+
# pyre-unsafe
24
from __future__ import annotations
35

46
import ast

PythonLib/test_cinderx/test_compiler/test_strict/test_rewriter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
3+
# pyre-unsafe
24
from __future__ import annotations
35

46
import ast

PythonLib/test_cinderx/test_compiler/test_strict/test_strict_codegen.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
3+
# pyre-unsafe
24
from __future__ import annotations
35

46
import sys

PythonLib/test_cinderx/test_compiler/test_strict/test_strict_compile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
3+
# pyre-unsafe
24
from __future__ import annotations
35

46
import sys

0 commit comments

Comments
 (0)