We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1a9482 commit ef313ddCopy full SHA for ef313dd
1 file changed
spin/cmds/util.py
@@ -1,15 +1,18 @@
1
+from __future__ import (
2
+ annotations, # noqa: F401 # TODO: remove once only >3.8 is supported
3
+)
4
+
5
import os
6
import shlex
7
import subprocess
8
import sys
-from typing import Optional
9
10
import click
11
12
13
def run(
14
cmd: list[str],
- cwd: Optional[str] = None, # in 3.10 and up: str | None
15
+ cwd: str | None = None, # in 3.10 and up: str | None
16
replace: bool = False,
17
sys_exit: bool = True,
18
output: bool = True,
0 commit comments