Skip to content

Commit 21a1185

Browse files
authored
update URLs + isort (#55)
1 parent 0bbbe2a commit 21a1185

File tree

10 files changed

+11
-11
lines changed

10 files changed

+11
-11
lines changed

ppmpy/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010

1111

1212
from .eigen import eigen
13+
from .euler import Euler
1314
from .grid import FVGrid
1415
from .reconstruction import PPMInterpolant, flattening_coefficient
1516
from .riemann_exact import RiemannProblem, State
16-
17-
from .euler import Euler

ppmpy/euler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99
from ppmpy.eigen import eigen
1010
from ppmpy.grid import FVGrid
11-
from ppmpy.reconstruction import PPMInterpolant, HSEPPMInterpolant, flattening_coefficient
11+
from ppmpy.reconstruction import (HSEPPMInterpolant, PPMInterpolant,
12+
flattening_coefficient)
1213
from ppmpy.riemann_exact import RiemannProblem, State
1314

1415

ppmpy/grid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"""
44

55

6-
import numpy as np
76
import matplotlib.pyplot as plt
7+
import numpy as np
88

99

1010
class GridPlot:

ppmpy/riemann_exact.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
`q_int = rp.sample_solution()`
1515
"""
1616

17-
import numpy as np
1817
import matplotlib.pyplot as plt
18+
import numpy as np
1919
from scipy import optimize
2020

2121

ppmpy/tests/test_euler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from numpy.testing import assert_array_almost_equal_nulp
33

44
from ppmpy.euler import Euler, FluidVars
5-
from ppmpy.initial_conditions import sod, acoustic_pulse
5+
from ppmpy.initial_conditions import acoustic_pulse, sod
66

77

88
class TestFluidVars:

ppmpy/tests/test_gravity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import numpy as np
22

3-
from ppmpy.grid import FVGrid
43
from ppmpy.gravity import constant_gravity
4+
from ppmpy.grid import FVGrid
55

66

77
class TestGravity:

ppmpy/tests/test_grid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import numpy as np
2-
from numpy.testing import assert_array_equal, assert_array_almost_equal_nulp
2+
from numpy.testing import assert_array_almost_equal_nulp, assert_array_equal
33
from pytest import approx
44

55
from ppmpy.grid import FVGrid

ppmpy/tests/test_ppm_reconstruction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import numpy as np
2-
from numpy.testing import assert_array_equal, assert_array_almost_equal_nulp
2+
from numpy.testing import assert_array_almost_equal_nulp, assert_array_equal
33

44
from ppmpy.grid import FVGrid
55
from ppmpy.reconstruction import PPMInterpolant

ppmpy/tests/test_riemann.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from pytest import approx
22

3-
from ppmpy import State, RiemannProblem
3+
from ppmpy import RiemannProblem, State
44

55

66
class TestGrid:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies = [
2424

2525
[project.urls]
2626
Homepage = "https://github.com/python-hydro/ppmpy"
27-
27+
Documentation = "https://python-hydro.github.io/ppmpy"
2828

2929
# packaging
3030

0 commit comments

Comments
 (0)