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
|
import hy.macros
|
||||||
from hy._compat import (
|
from hy._compat import (
|
||||||
str_type, string_types, bytes_type, long_type, PY3, PY35, PY37,
|
str_type, bytes_type, long_type, PY3, PY35, raise_empty)
|
||||||
raise_empty)
|
|
||||||
from hy.macros import require, macroexpand, tag_macroexpand
|
from hy.macros import require, macroexpand, tag_macroexpand
|
||||||
import hy.importer
|
import hy.importer
|
||||||
|
|
||||||
@ -27,7 +26,6 @@ import sys
|
|||||||
import copy
|
import copy
|
||||||
|
|
||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
from cmath import isnan
|
|
||||||
|
|
||||||
if PY3:
|
if PY3:
|
||||||
import builtins
|
import builtins
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
|
|
||||||
from hy.compiler import hy_compile, HyTypeError
|
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.lex import tokenize, LexException
|
||||||
from hy.errors import HyIOError
|
from hy.errors import HyIOError
|
||||||
|
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
from functools import wraps
|
from functools import wraps
|
||||||
import string, re, unicodedata
|
import re, unicodedata
|
||||||
|
|
||||||
from rply import ParserGenerator
|
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,
|
from hy.models import (HyBytes, HyComplex, HyDict, HyExpression, HyFloat,
|
||||||
HyInteger, HyKeyword, HyList, HySet, HyString, HySymbol)
|
HyInteger, HyKeyword, HyList, HySet, HyString, HySymbol)
|
||||||
from .lexer import lexer
|
from .lexer import lexer
|
||||||
|
@ -5,14 +5,13 @@
|
|||||||
# license. See the LICENSE.
|
# license. See the LICENSE.
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from pipes import quote
|
|
||||||
import re
|
import re
|
||||||
import shlex
|
import shlex
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from hy._compat import PY3, PY35, PY36, builtins
|
from hy._compat import builtins
|
||||||
from hy.importer import get_bytecode_path
|
from hy.importer import get_bytecode_path
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user