Skip to content

Commit

Permalink
cleaned up imports and put type:ignore back
Browse files Browse the repository at this point in the history
  • Loading branch information
akissinger committed Dec 31, 2024
1 parent 59cccde commit 1864377
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions pyzx/graph/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,15 @@
# limitations under the License.

from __future__ import annotations
import abc
import math
import copy
from fractions import Fraction
from typing import TYPE_CHECKING, Union, Optional, Generic, TypeVar, Any, Sequence
from typing import List, Dict, Set, Tuple, Mapping, Iterable, Callable, ClassVar
from typing_extensions import Literal, GenericMeta
from typing import List, Dict, Set, Tuple, Mapping, Iterable, Callable, ClassVar, Literal
from typing_extensions import Literal, GenericMeta # type: ignore # https://github.com/python/mypy/issues/5753

import numpy as np

from ..utils import EdgeType, VertexType, get_z_box_label, set_z_box_label, toggle_edge, vertex_is_z_like, vertex_is_zx, toggle_vertex, vertex_is_w, get_w_partner, vertex_is_zx_like
from ..utils import EdgeType, VertexType, toggle_edge, vertex_is_zx
from ..utils import FloatInt, FractionLike
from ..tensor import tensorfy, tensor_to_matrix

Expand Down

0 comments on commit 1864377

Please sign in to comment.