diff --git a/{{ .ProjectSnake }}/BUILD.bazel b/{{ .ProjectSnake }}/BUILD.bazel index 19a0731..30be9bc 100644 --- a/{{ .ProjectSnake }}/BUILD.bazel +++ b/{{ .ProjectSnake }}/BUILD.bazel @@ -53,6 +53,11 @@ js_library( # aspect:map_kind py_binary py_binary @aspect_rules_py//py:defs.bzl # aspect:map_kind py_library py_library @aspect_rules_py//py:defs.bzl # aspect:map_kind py_test py_test @aspect_rules_py//py:defs.bzl +# +# Don't walk into virtualenvs when looking for python sources. +# We don't intend to plant BUILD files there. +# aspect:exclude **/*.venv +# # Fetches metadata for python packages we depend on. modules_mapping( name = "modules_map",