File tree Expand file tree Collapse file tree 4 files changed +14
-1
lines changed
Expand file tree Collapse file tree 4 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 66/.pytest_cache /
77/.venv /
88/.vscode /
9+ /api /
910/build /
1011/dist /
1112/eggs /
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ uv run stubgen --include-private -p appose -o api/
3+ uv run stubgen --include-private -o api tests/* .py
4+
5+ # Strip leading import statements -- not needed for
6+ # API comparison with other Appose implementations.
7+ find api -name ' *.pyi' | while read pyi
8+ do
9+ mv " $pyi " " $pyi .original"
10+ sed ' /^\(from\|import\) /d' " $pyi .original" > " $pyi "
11+ done
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ dependencies = [
3535[dependency-groups ]
3636dev = [
3737 " build" ,
38+ " mypy" ,
3839 " pytest" ,
3940 " ruff" ,
4041 " toml" ,
Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ def __init__(
310310 inputs : Args | None = None ,
311311 queue : str | None = None ,
312312 ) -> None :
313- self .uuid = uuid4 ().hex
313+ self .uuid : str = uuid4 ().hex
314314 self .service = service
315315 self .script = script
316316 self .inputs : Args = {}
You can’t perform that action at this time.
0 commit comments