File tree 1 file changed +3
-0
lines changed
Filter options
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(
9
9
visibility = ["//visibility:private" ],
10
10
requirements_in = None ,
11
11
requirements_txt = None ,
12
+ tags = None ,
12
13
** kwargs ):
13
14
"""
14
15
Macro creating targets for running pip-compile
@@ -28,6 +29,7 @@ def compile_pip_requirements(
28
29
visibility: passed to both the _test and .update rules
29
30
requirements_in: file expressing desired dependencies
30
31
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
31
33
**kwargs: other bazel attributes passed to the "_test" rule
32
34
"""
33
35
requirements_in = name + ".in" if requirements_in == None else requirements_in
@@ -69,6 +71,7 @@ def compile_pip_requirements(
69
71
"deps" : deps ,
70
72
"main" : pip_compile ,
71
73
"srcs" : [pip_compile ],
74
+ "tags" : tags ,
72
75
"visibility" : visibility ,
73
76
}
74
77
You can’t perform that action at this time.
0 commit comments