add support for annotations

and other fixes
This commit is contained in:
Jan Petykiewicz 2020-09-10 20:06:58 -07:00
commit 49a3b4e322
28 changed files with 400 additions and 133 deletions

View file

@ -7,7 +7,7 @@ from typing import Union, List, Dict, Tuple, Optional, Sequence, TYPE_CHECKING,
import copy
from abc import ABCMeta, abstractmethod
import numpy
import numpy # type: ignore
from .error import PatternError, PatternLockedError
from .utils import rotation_matrix_2d, vector2, AutoSlots