The default `python_sources(sources=[])` value is:...
# general
f
The default
python_sources(sources=[])
value is:
Copy code
default: ('*.py', '*.pyi', '!test_*.py', '!*_test.py', '!tests.py', '!conftest.py', '!test_*.pyi', '!*_test.pyi', '!tests.pyi')
Is there any way to change this globally without having to repeat my custom value in every BUILD file?
I just discovered macros, maybe that's how to accomplish this ...
f
You could likely also use the
__defaults__
mechanism.
f
Oh, nice! I like that better for this use case. Thank you