Skip to content

Commit

Permalink
Fix the linter mangling cython
Browse files Browse the repository at this point in the history
  • Loading branch information
aliaksei135 committed Nov 29, 2021
1 parent 7039f5e commit 611e866
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
10 changes: 1 addition & 9 deletions seedpod_ground_risk/pathfinding/iterative_theta_star.pyx
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
rom
scipy.optimize
import minimize_scalar
import numpy as np
cimport numpy as np

cimport

numpy as np
import numpy as np
cimport numpy as np
from scipy.optimize import minimize_scalar

np.import_array()
from seedpod_ground_risk.pathfinding import get_path_risk_sum
# from algorithm cimport Algorithm
from environment cimport GridEnvironment, Node
from theta_star cimport RiskThetaStar

Expand Down
10 changes: 3 additions & 7 deletions seedpod_ground_risk/pathfinding/theta_star.pyx
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
from heapq import heappop, heappush

cimport

cython
cimport

numpy as np
cimport cython
cimport numpy as np

np.import_array()
# import numpy as np
import numpy as np
from skimage.draw import line

from environment cimport Node, GridEnvironment
Expand Down

0 comments on commit 611e866

Please sign in to comment.