Skip to content

Commit f36122b

Browse files
committed
Fix typing issue in __main__
1 parent 4c005b2 commit f36122b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ disallow_untyped_decorators = true
8282
# Third party libraries without type stubs
8383
[[tool.mypy.overrides]]
8484
module = [
85+
"simple_httpfs.__init__",
86+
"simple_httpfs.__main__",
8587
"diskcache.*",
8688
"fuse.*",
8789
]

simple_httpfs/__main__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import logging
33
import os.path as op
44
import sys
5+
from typing import Any
56

67
from fuse import FUSE
78

@@ -73,7 +74,7 @@ def main() -> None:
7374
if args["verbose"]:
7475
logger.setLevel(logging.DEBUG)
7576

76-
platform_settings = {}
77+
platform_settings: dict[str, Any] = {}
7778
if sys.platform == "darwin":
7879
platform_settings["noapplexattr"] = True
7980
platform_settings["noappledouble"] = True

0 commit comments

Comments
 (0)