Skip to content

Commit 611faea

Browse files
committed
exclude samples from gazelle processing
1 parent e3d36eb commit 611faea

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

BUILD.bazel

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
load("@bazel_gazelle//:def.bzl", "gazelle")
22
load("@pypi//:requirements.bzl", "all_whl_requirements")
3-
load("@rules_python//python:defs.bzl", "py_library")
43
load("@rules_python//python:pip.bzl", "compile_pip_requirements")
54
load("@rules_python_gazelle_plugin//manifest:defs.bzl", "gazelle_python_manifest")
65
load("@rules_python_gazelle_plugin//modules_mapping:def.bzl", "modules_mapping")
@@ -59,22 +58,8 @@ gazelle(
5958
gazelle = "@rules_python_gazelle_plugin//python:gazelle_binary",
6059
)
6160

61+
# gazelle:exclude samples
6262
# gazelle:python_ignore_files setup.py
6363
# gazelle:resolve py lxml.etree @pypi//lxml
6464
# gazelle:python_binary_naming_convention $package_name$
6565
# gazelle:python_library_naming_convention $package_name$
66-
67-
py_library(
68-
name = "document-api-python",
69-
srcs = [
70-
"samples/preserve-namespaces/preserve-namespaces.py",
71-
"samples/replicate-workbook/replicate_workbook.py",
72-
"samples/show-fields/show_fields.py",
73-
"samples/show_workbook_info/show_workbook_info.py",
74-
],
75-
visibility = ["//:__subpackages__"],
76-
deps = [
77-
"//tableaudocumentapi",
78-
"@pypi//lxml",
79-
],
80-
)

0 commit comments

Comments
 (0)