Skip to content

Commit

Permalink
ignore types in aux files
Browse files Browse the repository at this point in the history
  • Loading branch information
akissinger committed May 4, 2024
1 parent 5a6b2f6 commit 107c24e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# type: ignore
import os
import sys

Expand Down
8 changes: 4 additions & 4 deletions pyzx/drawing.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
import numpy as np

# matplotlib is lazy-imported on the first call to draw_matplotlib
plt = None
path = None
patches = None
lines = None
plt: Any = None
path: Any = None
patches: Any = None
lines: Any = None


from .utils import settings, get_mode, phase_to_s, EdgeType, VertexType, FloatInt, get_z_box_label
Expand Down
4 changes: 2 additions & 2 deletions pyzx/quimb.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
# except ImportError:

# load quimb modules on first call to to_quimb_tensor
qu = None
qtn = None
qu: Any = None
qtn: Any = None

from .utils import EdgeType, VertexType
from .graph.base import BaseGraph
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/python

# type: ignore
import pathlib
from setuptools import setup

Expand Down

0 comments on commit 107c24e

Please sign in to comment.