File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55The only interesting additional things going on here is the choice of *where* the stubs
66go by default. When using the CLI, they land in `scyjava.types` by default; see the
7- `_get_ouput_dir ` helper function for details on how the output directory is resolved
7+ `_get_output_dir ` helper function for details on how the output directory is resolved
88from the CLI arguments.
99"""
1010
@@ -98,7 +98,7 @@ def main() -> None:
9898 sys .exit (1 )
9999
100100 args = parser .parse_args ()
101- output_dir = _get_ouput_dir (args .output_dir , args .output_python_path )
101+ output_dir = _get_output_dir (args .output_dir , args .output_python_path )
102102 if not output_dir .exists ():
103103 output_dir .mkdir (parents = True , exist_ok = True )
104104
@@ -132,7 +132,7 @@ def _derive_python_prefix(output_dir: str | None) -> str:
132132 return "scyjava.types"
133133
134134
135- def _get_ouput_dir (output_dir : str | None , python_path : str | None ) -> Path :
135+ def _get_output_dir (output_dir : str | None , python_path : str | None ) -> Path :
136136 if out_dir := output_dir :
137137 return Path (out_dir )
138138 if pp := python_path :
You can’t perform that action at this time.
0 commit comments