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 a1bedf0 commit a0d5734Copy full SHA for a0d5734
esptool/cli_util.py
@@ -9,7 +9,7 @@
9
from esptool.cmds import detect_flash_size
10
from esptool.util import FatalError, flash_size_bytes, strip_chip_name
11
from esptool.logger import log
12
-from typing import IO, Any
+from typing import IO, Any, Union
13
14
################################ Custom types #################################
15
@@ -379,7 +379,7 @@ def arg_auto_int(x: str) -> int:
379
380
381
def parse_port_filters(
382
- value: list[str],
+ value: Union[list[str], tuple[str, ...]],
383
) -> tuple[list[int], list[int], list[str], list[str]]:
384
"""Parse port filter arguments into separate lists for each filter type"""
385
# Handle malformed input from OptionEatAll which can pass tuple with string representation
0 commit comments