Skip to content

Commit 6783f57

Browse files
committed
Fix typo: _get_ouput_dir -> _get_output_dir
1 parent 4f54611 commit 6783f57

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/scyjava/_stubs/_cli.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
The only interesting additional things going on here is the choice of *where* the stubs
66
go 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
88
from 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:

0 commit comments

Comments
 (0)