Fix pyright possibly-missing-submodule in covering test

Add explicit import bonsai.core.tool to satisfy pyright's type checker,
which requires submodules to be explicitly imported rather than relying
on transitive imports from import bonsai.
This commit is contained in:
CyrilWaechter
2026-08-02 00:32:47 +02:00
parent 888595b142
commit 2ad4ae8de5
+1
View File
@@ -22,6 +22,7 @@ import pytest
import bonsai
import bonsai.core.covering as subject
import bonsai.core.tool
from test.core.bootstrap import Prophecy, ifc, root, spatial
# NOTE: The Prophecy mocking framework serialises call arguments as JSON,