Skip to content

Commit 9286230

Browse files
committed
Ignore types when calling eval
1 parent a330f8b commit 9286230

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scanspec/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ def plot(spec: str):
4040
from scanspec.plot import plot_spec
4141

4242
axis_names = {c: c for c in string.ascii_lowercase}
43-
eval_spec = eval(spec, locals=axis_names)
44-
plot_spec(eval_spec)
43+
eval_spec = eval(spec, locals=axis_names) # type: ignore
44+
plot_spec(eval_spec) # type: ignore
4545

4646

4747
@cli.command()

0 commit comments

Comments
 (0)