Skip to content

Commit 107c24e

Browse files
committed
ignore types in aux files
1 parent 5a6b2f6 commit 107c24e

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# add these directories to sys.path here. If the directory is relative to the
1313
# documentation root, use os.path.abspath to make it absolute, like shown here.
1414
#
15+
# type: ignore
1516
import os
1617
import sys
1718

pyzx/drawing.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
import numpy as np
3131

3232
# matplotlib is lazy-imported on the first call to draw_matplotlib
33-
plt = None
34-
path = None
35-
patches = None
36-
lines = None
33+
plt: Any = None
34+
path: Any = None
35+
patches: Any = None
36+
lines: Any = None
3737

3838

3939
from .utils import settings, get_mode, phase_to_s, EdgeType, VertexType, FloatInt, get_z_box_label

pyzx/quimb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
# except ImportError:
2626

2727
# load quimb modules on first call to to_quimb_tensor
28-
qu = None
29-
qtn = None
28+
qu: Any = None
29+
qtn: Any = None
3030

3131
from .utils import EdgeType, VertexType
3232
from .graph.base import BaseGraph

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/python
2-
2+
# type: ignore
33
import pathlib
44
from setuptools import setup
55

0 commit comments

Comments
 (0)