File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ def compile_pip_requirements(
99 visibility = ["//visibility:private" ],
1010 requirements_in = None ,
1111 requirements_txt = None ,
12+ tags = None ,
1213 ** kwargs ):
1314 """
1415 Macro creating targets for running pip-compile
@@ -28,6 +29,7 @@ def compile_pip_requirements(
2829 visibility: passed to both the _test and .update rules
2930 requirements_in: file expressing desired dependencies
3031 requirements_txt: result of "compiling" the requirements.in file
32+ tags: tagging attribute common to all build rules, passed to both the _test and .update rules
3133 **kwargs: other bazel attributes passed to the "_test" rule
3234 """
3335 requirements_in = name + ".in" if requirements_in == None else requirements_in
@@ -69,6 +71,7 @@ def compile_pip_requirements(
6971 "deps" : deps ,
7072 "main" : pip_compile ,
7173 "srcs" : [pip_compile ],
74+ "tags" : tags ,
7275 "visibility" : visibility ,
7376 }
7477
You can’t perform that action at this time.
0 commit comments