Skip to content

Commit 1db1d24

Browse files
committed
More linter fixes
1 parent 453a943 commit 1db1d24

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

command_runner/elevate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def main(argv):
3333
__version__ = "0.3.3"
3434
__build__ = "2024091501"
3535

36+
from typing import Tuple
3637
from logging import getLogger
3738
import os
3839
import sys
@@ -140,7 +141,7 @@ def _windows_runner(runner, arguments):
140141

141142

142143
def _check_environment():
143-
# type: () -> (str, str)
144+
# type: () -> Tuple[str, str]
144145
# Regardless of the runner (CPython, Nuitka or frozen CPython), sys.argv[0] is the relative path to script,
145146
# sys.argv[1] are the arguments
146147
# The only exception being CPython on Windows where sys.argv[0] contains absolute path to script

0 commit comments

Comments
 (0)