Skip to content

Commit

Permalink
Don't allow non-existing paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
zuckerruebe committed Oct 6, 2023
1 parent db86f28 commit c367819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release/src/runPytrnsys.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import typer as _typer
import typing_extensions as _te

_ReadableFilePath = _te.Annotated[_pl.Path, _typer.Argument(readable=True, dir_okay=False)]
_ReadableFilePath = _te.Annotated[_pl.Path, _typer.Argument(readable=True, dir_okay=False, exists=True)]


def main(python_script_path: _ReadableFilePath) -> None: # /NOSONAR # pylint: disable=invalid-name
Expand Down

0 comments on commit c367819

Please sign in to comment.