mirror of
https://github.com/tensorflow/tensorflow.git
synced 2024-11-21 21:05:19 +00:00
8fa1dfaa38
root of the 3P repository. But BUILD.bazel was also being interpreted by bazel as the BUILD file for the //third_party/name folder, which is wrong. This change renames those files to name.BUILD, a convention already being used by some packages. PiperOrigin-RevId: 409278565 Change-Id: Ib99c3474ec0b20d04cdb9d828f68c8303caec5fe
32 lines
757 B
Plaintext
32 lines
757 B
Plaintext
# Description:
|
|
# AST-based python refactoring.
|
|
load("//: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"],
|
|
)
|