Commit 703d0888 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Removed some unused imports in accordance with pyflakes.

parent aaf0df25
...@@ -175,6 +175,4 @@ def start_server(app, port): ...@@ -175,6 +175,4 @@ def start_server(app, port):
if __name__ == '__main__': if __name__ == '__main__':
import sys
start_server(app, int(sys.argv[1]) if len(sys.argv) > 1 else DEFAULT_PORT) start_server(app, int(sys.argv[1]) if len(sys.argv) > 1 else DEFAULT_PORT)
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
import os.path import os.path
import sys import sys
import copy import copy
import re
sys.path.insert(0, os.path.realpath('external')) sys.path.insert(0, os.path.realpath('external'))
......
...@@ -26,14 +26,13 @@ sys.path.insert(0, PYBISON_BUILD) ...@@ -26,14 +26,13 @@ sys.path.insert(0, PYBISON_BUILD)
sys.path.insert(1, EXTERNAL_MODS) sys.path.insert(1, EXTERNAL_MODS)
from pybison import BisonParser, BisonSyntaxError from pybison import BisonParser, BisonSyntaxError
from graph_drawing.graph import generate_graph
from graph_drawing.line import pred from graph_drawing.line import pred
from node import ExpressionNode as Node, \ from node import ExpressionNode as Node, \
ExpressionLeaf as Leaf, OP_MAP, OP_DXDER, TOKEN_MAP, TYPE_OPERATOR, \ ExpressionLeaf as Leaf, OP_MAP, OP_DXDER, TOKEN_MAP, TYPE_OPERATOR, \
OP_COMMA, OP_MUL, OP_POW, OP_LOG, OP_ADD, Scope, E, OP_ABS, \ OP_COMMA, OP_MUL, OP_POW, OP_LOG, OP_ADD, Scope, E, OP_ABS, \
DEFAULT_LOGARITHM_BASE, OP_VALUE_MAP, SPECIAL_TOKENS, OP_INT, \ DEFAULT_LOGARITHM_BASE, SPECIAL_TOKENS, OP_INT, OP_INT_INDEF, \
OP_INT_INDEF, INFINITY, OP_PRIME, OP_DIV INFINITY, OP_PRIME, OP_DIV
from rules.utils import find_variable from rules.utils import find_variable
from rules.precedences import IMPLICIT_RULES from rules.precedences import IMPLICIT_RULES
from strategy import find_possibilities from strategy import find_possibilities
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment