Skip to content

Commit

Permalink
Placate flake8 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Oct 28, 2018
1 parent 60ba2fa commit 4c4ff50
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion loopy/frontend/fortran/tree.py
Expand Up @@ -53,7 +53,7 @@ def rec(self, expr, *args, **kwargs):

ENTITY_RE = re.compile(
r"^(?P<name>[_0-9a-zA-Z]+)"
"(\((?P<shape>[-+*0-9:a-zA-Z, \t]+)\))?$")
r"(\((?P<shape>[-+*0-9:a-zA-Z, \t]+)\))?$")

def parse_dimension_specs(self, node, dim_decls):
def parse_bounds(bounds_str):
Expand Down
2 changes: 1 addition & 1 deletion loopy/symbolic.py
Expand Up @@ -1629,7 +1629,7 @@ def get_access_range(domain, subscript, assumptions, shape=None,
if shape is not None:
try:
shape_aff = guarded_aff_from_expr(access_map.space, shape[idim])
except ExpressionToAffineConversionError as sub_err:
except ExpressionToAffineConversionError:
pass

if shape_aff is None:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
@@ -1,5 +1,5 @@
[flake8]
ignore = E126,E127,E128,E123,E226,E241,E242,E265,N802,W503,E402,N814
ignore = E126,E127,E128,E123,E226,E241,E242,E265,N802,W503,E402,N814,W504
max-line-length=85
exclude=
loopy/target/c/compyte/ndarray,
Expand Down

0 comments on commit 4c4ff50

Please sign in to comment.