bazel-contrib / bazel-contrib/rules_python

python gazelle: ignore "binaries" when generating py_librarys

Open
#2,443 1 comment 0 reactions 0 assignees View on GitHub
gazelle
Dominant language
Starlark
Stars
688
Forks
721
Avg merge
14h 49m
Merged PRs (30d)
81

Description

# 🚀 feature request

### Relevant Rules

- rules_python

### Description

A clear and concise description of the problem or missing capability...

Add a config for python gazelle module to ignore "binary" files from the`srcs` of the `py_library` generated code.

By "binary" file I mean the logic that gazelle uses to define what src is used by a generated `py_binary`

### Describe the solution you'd like

If you have a solution in mind, please describe it.

### Describe alternatives you've considered

Have you considered any alternative solutions or workarounds?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.