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