STT-tensorflow/third_party/pasta/BUILD.bazel
A. Unique TensorFlower 985ad0276a PY2 removal cleanup
PiperOrigin-RevId: 352907145
Change-Id: I82de30d92dc9c2b53215d6d5732c67afe339c23d
2021-01-20 17:11:44 -08:00

32 lines
775 B
Python

# Description:
# AST-based python refactoring.
load("@//third_party/pasta:build_defs.bzl", "copy_srcs")
licenses(["notice"]) # Apache2
exports_files(["LICENSE"])
py_library(
name = "pasta",
srcs = copy_srcs([
"__init__.py",
"augment/__init__.py",
"augment/errors.py",
"augment/import_utils.py",
"augment/inline.py",
"augment/rename.py",
"base/__init__.py",
"base/annotate.py",
"base/ast_constants.py",
"base/ast_utils.py",
"base/codegen.py",
"base/formatting.py",
"base/fstring_utils.py",
"base/scope.py",
"base/test_utils.py",
"base/token_generator.py",
]),
srcs_version = "PY3",
visibility = ["//visibility:public"],
)