happy-family-315
07/07/2022, 2:33 PM__defaults__ gets ignored somehow by BUILD files inside a subdirectory? Maybe this is a bug, because I have a top level django/BUILD file which contains:
__defaults__({
(python_tests): dict(dependencies=["django/django_core/settings.py"])
})
And a BUILD file under django/sub/tests/classes/BUILD which just defines:
python_tests(
name="tests",
)
The dependencies goal in the subdirectory does not reference django/django_core/settings.py
If I extend the contents of django/sub/tests/classes/BUILD the dependency django/django_core/settings.py gets shown correctly:
__defaults__({
(python_tests): dict(dependencies=["django/django_core/settings.py"])
})
python_tests(
name="tests",
)happy-family-315
07/07/2022, 2:53 PM__default__ argument. Is this behavior expected? I need to manually create empty BUILD files for: django/sub/BUILD django/sub/tests/BUILD just to make django/sub/tests/classes/BUILD inherit the defaults from django/BUILDcurved-television-6568
07/07/2022, 5:21 PMcurved-television-6568
07/07/2022, 6:43 PMcurved-television-6568
07/07/2022, 7:39 PMhappy-family-315
07/08/2022, 8:57 AM