*: remove unused imports

This commit is contained in:
Robin Ole Heinemann 2021-05-18 20:39:57 +02:00 committed by whitequark
parent d09dedfb48
commit 25caf4045b
16 changed files with 10 additions and 25 deletions

View file

@ -1,8 +1,5 @@
from abc import ABCMeta, abstractmethod
import traceback
import sys
import warnings
import typing
import functools
from collections import OrderedDict
from collections.abc import Iterable, MutableMapping, MutableSet, MutableSequence

View file

@ -1,11 +1,10 @@
from collections import OrderedDict, namedtuple
from collections.abc import Iterable
from collections import OrderedDict
from contextlib import contextmanager, _GeneratorContextManager
from functools import wraps
from enum import Enum
import warnings
from .._utils import flatten, bits_for, deprecated
from .._utils import flatten, bits_for
from .. import tracer
from .ast import *
from .ir import *

View file

@ -1,9 +1,7 @@
from abc import ABCMeta, abstractmethod
from abc import ABCMeta
from collections import defaultdict, OrderedDict
from functools import reduce
import warnings
import traceback
import sys
from .._utils import *
from .._unused import *

View file

@ -3,7 +3,7 @@ from collections import OrderedDict
from functools import reduce, wraps
from .. import tracer
from .._utils import union, deprecated
from .._utils import union
from .ast import *

View file

@ -2,7 +2,7 @@ from abc import ABCMeta, abstractmethod
from collections import OrderedDict
from collections.abc import Iterable
from .._utils import flatten, deprecated
from .._utils import flatten
from .. import tracer
from .ast import *
from .ast import _StatementList