Remove unused imports
This commit is contained in:
parent
4de18d3dff
commit
9c6714c176
@ -15,8 +15,7 @@ from hy.lex.parser import mangle, unmangle
|
||||
|
||||
import hy.macros
|
||||
from hy._compat import (
|
||||
str_type, string_types, bytes_type, long_type, PY3, PY35, PY37,
|
||||
raise_empty)
|
||||
str_type, bytes_type, long_type, PY3, PY35, raise_empty)
|
||||
from hy.macros import require, macroexpand, tag_macroexpand
|
||||
import hy.importer
|
||||
|
||||
@ -27,7 +26,6 @@ import sys
|
||||
import copy
|
||||
|
||||
from collections import defaultdict
|
||||
from cmath import isnan
|
||||
|
||||
if PY3:
|
||||
import builtins
|
||||
|
@ -5,7 +5,7 @@
|
||||
from __future__ import absolute_import
|
||||
|
||||
from hy.compiler import hy_compile, HyTypeError
|
||||
from hy.models import HyObject, HyExpression, HySymbol
|
||||
from hy.models import HyExpression, HySymbol
|
||||
from hy.lex import tokenize, LexException
|
||||
from hy.errors import HyIOError
|
||||
|
||||
|
@ -6,11 +6,11 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from functools import wraps
|
||||
import string, re, unicodedata
|
||||
import re, unicodedata
|
||||
|
||||
from rply import ParserGenerator
|
||||
|
||||
from hy._compat import PY3, str_type, isidentifier, UCS4
|
||||
from hy._compat import str_type, isidentifier, UCS4
|
||||
from hy.models import (HyBytes, HyComplex, HyDict, HyExpression, HyFloat,
|
||||
HyInteger, HyKeyword, HyList, HySet, HyString, HySymbol)
|
||||
from .lexer import lexer
|
||||
|
@ -5,14 +5,13 @@
|
||||
# license. See the LICENSE.
|
||||
|
||||
import os
|
||||
from pipes import quote
|
||||
import re
|
||||
import shlex
|
||||
import subprocess
|
||||
|
||||
import pytest
|
||||
|
||||
from hy._compat import PY3, PY35, PY36, builtins
|
||||
from hy._compat import builtins
|
||||
from hy.importer import get_bytecode_path
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user