mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-17 02:49:12 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user