File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ def _bazel_bats_deps_impl(ctx):
31
31
32
32
33
33
_dep_class = tag_class ( attrs = {
34
- "version" : attr .string (),
35
- "sha256" : attr .string (),
34
+ "version" : attr .string (doc = "The version of the dependency to download." ),
35
+ "sha256" : attr .string (doc = "The sha256 hash of the dependency archive." ),
36
36
})
37
37
bazel_bats_deps = module_extension (
38
38
implementation = _bazel_bats_deps_impl ,
Original file line number Diff line number Diff line change @@ -94,8 +94,11 @@ def _bats_with_bats_assert_test_impl(ctx):
94
94
return [DefaultInfo (runfiles = runfiles )]
95
95
96
96
_bats_test_attrs = {
97
- "data" : attr .label_list (allow_files = True ),
98
- "deps" : attr .label_list (),
97
+ "data" : attr .label_list (
98
+ allow_files = True ,
99
+ doc = "List of data dependencies for the test." ,
100
+ ),
101
+ "deps" : attr .label_list (doc = "List of other dependencies for the test." ),
99
102
"env" : attr .string_dict (
100
103
doc = "A list of key-value pairs of environment variables to define" ,
101
104
),
You can’t perform that action at this time.
0 commit comments