mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
Remove useless oncall designations for open-sourced files.
This commit is contained in:
parent
20acb169db
commit
12946fcae4
4 changed files with 0 additions and 9 deletions
|
|
@ -1,4 +1,3 @@
|
|||
# @oncall instagram_server_framework
|
||||
from typing import Dict, List, Optional, Sequence, Set, Tuple, Union
|
||||
|
||||
import libcst
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
# @oncall instagram_server_framework
|
||||
from typing import Dict, List, Optional, Sequence, Set, Tuple, Union
|
||||
|
||||
import libcst
|
||||
|
|
|
|||
|
|
@ -1,12 +1,9 @@
|
|||
# @oncall instagram_server_framework
|
||||
from libcst.codemod import CodemodTest
|
||||
from libcst.codemod.visitors import AddImportsVisitor
|
||||
|
||||
|
||||
class TestAddImportsCodemod(CodemodTest):
|
||||
|
||||
ONCALL_SHORTNAME = "instagram_server_framework"
|
||||
|
||||
TRANSFORM = AddImportsVisitor
|
||||
|
||||
def test_noop(self) -> None:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
# @oncall instagram_server_framework
|
||||
from libcst import parse_module
|
||||
from libcst.codemod import CodemodContext, CodemodTest
|
||||
from libcst.codemod.visitors import GatherImportsVisitor
|
||||
|
|
@ -6,9 +5,6 @@ from libcst.testing.utils import UnitTest
|
|||
|
||||
|
||||
class TestGatherImportsVisitor(UnitTest):
|
||||
|
||||
ONCALL_SHORTNAME = "instagram_server_framework"
|
||||
|
||||
def gather_imports(self, code: str) -> GatherImportsVisitor:
|
||||
transform_instance = GatherImportsVisitor(CodemodContext())
|
||||
input_tree = parse_module(CodemodTest.make_fixture_data(code))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue