tree: 9eee77b59ecfd379873f6ed3389ac7f6074ebac4 [path history] [tgz]
  1. subpkg/
  2. __init__.py
  3. __main__.py
  4. BUILD.in
  5. BUILD.out
  6. gazelle_python.yaml
  7. module1.py
  8. module2.py
  9. module2_test.py
  10. README.md
  11. test.yaml
  12. WORKSPACE
gazelle/python/testdata/annotation_include_dep/README.md

Annotation: Include Dep

Test that the Python gazelle annotation # gazelle:include_dep correctly adds dependences to the generated target even if those dependencies are not imported by the Python module.

The root directory tests that all py_* targets will correctly include the additional dependencies.

The subpkg directory tests that all # gazlle:include_dep annotations found in all source files are included in the generated target (such as during generation_mode package).