Skip to content

Commit

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

from __future__ import annotations

import argparse

try:
Expand All @@ -33,7 +35,7 @@
from tifffile import tiff2fsspec


def main():
def main() -> int:
"""Tiff2fsspec command line usage main function."""
parser = argparse.ArgumentParser(
'tiff2fsspec',
Expand Down Expand Up @@ -78,6 +80,7 @@ def main():
chunkmode=args.chunkmode,
version=args.ver,
)
return 0


if __name__ == '__main__':
Expand Down

0 comments on commit e3d22fd

Please sign in to comment.