Skip to content

Commit 2b85600

Browse files
committed
updated __init__ files so they're compliant with flake8 3.7.5
1 parent 3856250 commit 2b85600

16 files changed

Lines changed: 21 additions & 21 deletions

File tree

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[flake8]
22
max-line-length = 120
3-
ignore = E126, E127, E128, E129, E226, E241, E265, E741, F403, W504
3+
ignore = E126, E127, E128, E129, E226, E241, E265, E741, F401, F403, W504
44
exclude = docs/,lm_combustion,radhydro

advection/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
"""
55

66
__all__ = ['simulation']
7-
from .simulation import *
7+
from .simulation import Simulation

advection_fv4/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
"""
77

88
__all__ = ['simulation']
9-
from .simulation import *
9+
from .simulation import Simulation

advection_nonuniform/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
"""
55

66
__all__ = ['simulation']
7-
from .simulation import *
7+
from .simulation import Simulation

advection_rk/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
"""
55

66
__all__ = ['simulation']
7-
from .simulation import *
7+
from .simulation import Simulation

advection_weno/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828
"""
2929

3030
__all__ = ['simulation']
31-
from .simulation import *
31+
from .simulation import Simulation

compressible/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77
__all__ = ["simulation"]
88

9-
from .simulation import *
9+
from .simulation import Variables, Simulation, cons_to_prim, prim_to_cons

compressible/interface.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,12 +1179,12 @@ def artificial_viscosity(ng, dx, dy,
11791179
for i in range(ilo - 1, ihi + 1):
11801180
for j in range(jlo - 1, jhi + 1):
11811181

1182-
# start by computing the divergence on the x-interface. The
1183-
# x-difference is simply the difference of the cell-centered
1184-
# x-velocities on either side of the x-interface. For the
1185-
# y-difference, first average the four cells to the node on
1186-
# each end of the edge, and: difference these to find the
1187-
# edge centered y difference.
1182+
# start by computing the divergence on the x-interface. The
1183+
# x-difference is simply the difference of the cell-centered
1184+
# x-velocities on either side of the x-interface. For the
1185+
# y-difference, first average the four cells to the node on
1186+
# each end of the edge, and: difference these to find the
1187+
# edge centered y difference.
11881188
divU_x = (u[i, j] - u[i - 1, j]) / dx + \
11891189
0.25 * (v[i, j + 1] + v[i - 1, j + 1] -
11901190
v[i, j - 1] - v[i - 1, j - 1]) / dy

compressible_fv4/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55

66
__all__ = ["simulation"]
77

8-
from .simulation import *
8+
from .simulation import Simulation

compressible_react/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
"""
77
__all__ = ["simulation"]
88

9-
from .simulation import *
9+
from .simulation import Simulation

0 commit comments

Comments
 (0)