8000 feat: add scyjava-stubgen cli command, and `scyjava.types` namespace, which provide type-safe imports with lazy init by tlambert03 · Pull Request #82 · scijava/scyjava · GitHub
[go: up one dir, main page]

Skip to content

feat: add scyjava-stubgen cli command, and scyjava.types namespace, which provide type-safe imports with lazy init #82

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove repr test
  • Loading branch information
tlambert03 committed May 1, 2025
commit 51937b587562d13922b4dfd944fd142c5c5fee6a
1 change: 0 additions & 1 deletion tests/test_stubgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def test_stubgen(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> None:
from org.scijava.parsington import Function

assert Function is not None
assert repr(Function) == "<scyjava class 'org.scijava.parsington.Function'>"
# ensure that no calls to start_jvm were made
mock_start_jvm.assert_not_called()

Expand Down
Loading
0