Remove useless oncall designations for open-sourced files.

This commit is contained in:
Jennifer Taylor 2019-12-11 11:23:57 -08:00 committed by Jennifer Taylor
parent 20acb169db
commit 12946fcae4
4 changed files with 0 additions and 9 deletions

View file

@ -1,4 +1,3 @@
# @oncall instagram_server_framework
from typing import Dict, List, Optional, Sequence, Set, Tuple, Union
import libcst

View file

@ -1,4 +1,3 @@
# @oncall instagram_server_framework
from typing import Dict, List, Optional, Sequence, Set, Tuple, Union
import libcst

View file

@ -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:

View file

@ -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))