LibCST/libcst/codemod/__init__.py
Zsolt Dollenstein c44ff0500b
Fix license headers (#560)
* Facebook -> Meta

* remove year from doc copyright
2021-12-28 11:55:18 +00:00

55 lines
1.4 KiB
Python

# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
#
from libcst.codemod._cli import (
diff_code,
exec_transform_with_prettyprint,
gather_files,
parallel_exec_transform_with_prettyprint,
ParallelTransformResult,
)
from libcst.codemod._codemod import Codemod
from libcst.codemod._command import (
CodemodCommand,
MagicArgsCodemodCommand,
VisitorBasedCodemodCommand,
)
from libcst.codemod._context import CodemodContext
from libcst.codemod._runner import (
SkipFile,
SkipReason,
transform_module,
TransformExit,
TransformFailure,
TransformResult,
TransformSkip,
TransformSuccess,
)
from libcst.codemod._testing import CodemodTest
from libcst.codemod._visitor import ContextAwareTransformer, ContextAwareVisitor
__all__ = [
"Codemod",
"CodemodContext",
"CodemodCommand",
"VisitorBasedCodemodCommand",
"MagicArgsCodemodCommand",
"ContextAwareTransformer",
"ContextAwareVisitor",
"ParallelTransformResult",
"TransformSuccess",
"TransformFailure",
"TransformExit",
"SkipReason",
"TransformSkip",
"SkipFile",
"TransformResult",
"CodemodTest",
"transform_module",
"gather_files",
"exec_transform_with_prettyprint",
"parallel_exec_transform_with_prettyprint",
"diff_code",
]