Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
trs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Taddeüs Kroes
trs
Commits
703d0888
Commit
703d0888
authored
12 years ago
by
Taddeüs Kroes
Browse files
Options
Downloads
Patches
Plain Diff
Removed some unused imports in accordance with pyflakes.
parent
aaf0df25
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/backend/backend.py
+0
-2
0 additions, 2 deletions
src/backend/backend.py
src/node.py
+0
-1
0 additions, 1 deletion
src/node.py
src/parser.py
+2
-3
2 additions, 3 deletions
src/parser.py
with
2 additions
and
6 deletions
src/backend/backend.py
+
0
−
2
View file @
703d0888
...
...
@@ -175,6 +175,4 @@ def start_server(app, port):
if
__name__
==
'
__main__
'
:
import
sys
start_server
(
app
,
int
(
sys
.
argv
[
1
])
if
len
(
sys
.
argv
)
>
1
else
DEFAULT_PORT
)
This diff is collapsed.
Click to expand it.
src/node.py
+
0
−
1
View file @
703d0888
...
...
@@ -16,7 +16,6 @@
import
os.path
import
sys
import
copy
import
re
sys
.
path
.
insert
(
0
,
os
.
path
.
realpath
(
'
external
'
))
...
...
This diff is collapsed.
Click to expand it.
src/parser.py
+
2
−
3
View file @
703d0888
...
...
@@ -26,14 +26,13 @@ sys.path.insert(0, PYBISON_BUILD)
sys
.
path
.
insert
(
1
,
EXTERNAL_MODS
)
from
pybison
import
BisonParser
,
BisonSyntaxError
from
graph_drawing.graph
import
generate_graph
from
graph_drawing.line
import
pred
from
node
import
ExpressionNode
as
Node
,
\
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
,
\
DEFAULT_LOGARITHM_BASE
,
OP_VALUE_MAP
,
SPECIAL_TOKENS
,
OP_INT
,
\
OP_INT_INDEF
,
INFINITY
,
OP_PRIME
,
OP_DIV
DEFAULT_LOGARITHM_BASE
,
SPECIAL_TOKENS
,
OP_INT
,
OP_INT_INDEF
,
\
INFINITY
,
OP_PRIME
,
OP_DIV
from
rules.utils
import
find_variable
from
rules.precedences
import
IMPLICIT_RULES
from
strategy
import
find_possibilities
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment