xref: /aosp_15_r20/external/bazelbuild-rules_python/gazelle/.bazelrc (revision 60517a1edbc8ecf509223e9af94a7adec7d736b8)
1test --test_output=errors
2
3# Do NOT implicitly create empty __init__.py files in the runfiles tree.
4# By default, these are created in every directory containing Python source code
5# or shared libraries, and every parent directory of those directories,
6# excluding the repo root directory. With this flag set, we are responsible for
7# creating (possibly empty) __init__.py files and adding them to the srcs of
8# Python targets as required.
9build --incompatible_default_to_explicit_init_py
10
11# Windows makes use of runfiles for some rules
12build --enable_runfiles
13
14# Do NOT implicitly create empty __init__.py files in the runfiles tree.
15# By default, these are created in every directory containing Python source code
16# or shared libraries, and every parent directory of those directories,
17# excluding the repo root directory. With this flag set, we are responsible for
18# creating (possibly empty) __init__.py files and adding them to the srcs of
19# Python targets as required.
20build --incompatible_default_to_explicit_init_py
21