We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0fd538 commit cc6988eCopy full SHA for cc6988e
pybricksdev/cli/__init__.py
@@ -14,7 +14,7 @@
14
import validators
15
16
from abc import ABC, abstractmethod
17
-from os import path
+from os import PathLike, path
18
19
import argcomplete
20
from argcomplete.completers import FilesCompleter
@@ -54,7 +54,7 @@ async def run(self, args: argparse.Namespace):
54
pass
55
56
57
-def _get_script_path(file: TextIO) -> ContextManager:
+def _get_script_path(file: TextIO) -> ContextManager[PathLike]:
58
"""
59
Gets the path to a script on the file system.
60
0 commit comments