summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--patternutils/commands/targs.py4
-rw-r--r--patternutils/commands/tln.py4
-rw-r--r--patternutils/commands/tmv.py4
3 files changed, 6 insertions, 6 deletions
diff --git a/patternutils/commands/targs.py b/patternutils/commands/targs.py
index b262149..5ca8d04 100644
--- a/patternutils/commands/targs.py
+++ b/patternutils/commands/targs.py
@@ -81,9 +81,9 @@ def targs(
) -> None:
if stream:
- data = map(utils.json_loads, read_from)
+ data = map(utils.json_loads, read_from) # type: ignore
else:
- data = utils.json_loads(read_from.read())
+ data = utils.json_loads(read_from.read()) # type: ignore
if use_predefined_template:
try:
diff --git a/patternutils/commands/tln.py b/patternutils/commands/tln.py
index 509f4ad..b0476b2 100644
--- a/patternutils/commands/tln.py
+++ b/patternutils/commands/tln.py
@@ -102,9 +102,9 @@ def tln(
) -> None:
if stream:
- data = map(utils.json_loads, read_from)
+ data = map(utils.json_loads, read_from) # type: ignore
else:
- data = utils.json_loads(read_from.read())
+ data = utils.json_loads(read_from.read()) # type: ignore
if use_predefined_template:
try:
diff --git a/patternutils/commands/tmv.py b/patternutils/commands/tmv.py
index 5ae2582..a82b8f7 100644
--- a/patternutils/commands/tmv.py
+++ b/patternutils/commands/tmv.py
@@ -100,9 +100,9 @@ def tmv(
"""
if stream:
- data = map(utils.json_loads, read_from)
+ data = map(utils.json_loads, read_from) # type: ignore
else:
- data = utils.json_loads(read_from.read())
+ data = utils.json_loads(read_from.read()) # type: ignore
if use_predefined_template:
try: