Skip to content

Commit

Permalink
Update tifffile/lsm2bin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cgohlke committed Sep 19, 2024
1 parent 412288c commit fe4093c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tifffile/lsm2bin.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"""

from __future__ import annotations

import sys

try:
Expand All @@ -18,7 +20,7 @@
from tifffile import lsm2bin


def main(argv=None):
def main(argv: list[str] | None = None) -> int:
"""Lsm2bin command line usage main function."""
if argv is None:
argv = sys.argv
Expand All @@ -27,6 +29,7 @@ def main(argv=None):
else:
print()
print(__doc__.strip())
return 0


if __name__ == '__main__':
Expand Down

0 comments on commit fe4093c

Please sign in to comment.