Skip to content

Commit 94e08f7

Browse files
authored
Fix argument name typo (#2984)
``` ERROR: Traceback (most recent call last): File ".../rules_python++pip+rules_mypy_pip_312_click/BUILD.bazel", line 5, column 20, in <toplevel> whl_library_targets( File ".../rules_python+/python/private/pypi/whl_library_targets.bzl", line 337, column 53, in whl_library_targets "//conditions:default": create_inits( File ".../rules_python+/python/private/pypi/namespace_pkgs.bzl", line 72, column 25, in create_inits for out in get_files(**kwargs): File ".../rules_python+/python/private/pypi/namespace_pkgs.bzl", line 20, column 5, in get_files def get_files(*, srcs, ignored_dirnames = [], root = None): Error: get_files() got unexpected keyword argument: ignore_dirnames (did you mean 'ignored_dirnames'?) ```
1 parent f2fa07a commit 94e08f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/private/pypi/whl_library_targets.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def whl_library_targets(
336336
Label("//python/config_settings:is_venvs_site_packages"): [],
337337
"//conditions:default": create_inits(
338338
srcs = srcs + data + pyi_srcs,
339-
ignore_dirnames = [], # If you need to ignore certain folders, you can patch rules_python here to do so.
339+
ignored_dirnames = [], # If you need to ignore certain folders, you can patch rules_python here to do so.
340340
root = "site-packages",
341341
),
342342
})

0 commit comments

Comments
 (0)