Skip to content

Commit da0d4d2

Browse files
committed
fix: update bare noqa
1 parent 3faeefa commit da0d4d2

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

examples/wave/wave-op-var-velocity.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
import logging
2828

2929
import numpy as np
30-
import numpy.linalg as la # noqa
30+
import numpy.linalg as la # noqa: F401
3131

3232
import pyopencl as cl
3333
import pyopencl.tools as cl_tools
34-
from meshmode.mesh import BTAG_ALL, BTAG_NONE # noqa
34+
from meshmode.mesh import BTAG_ALL, BTAG_NONE # noqa: F401
3535
from pytools import obj_array
3636

3737
import grudge.geometry as geo

grudge/array_context.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@
6262
try:
6363
# Crude check if we have the correct loopy branch
6464
# (https://github.com/kaushikcfd/loopy/tree/pytato-array-context-transforms)
65-
from loopy.transform.loop_fusion import get_kennedy_unweighted_fusion_candidates # noqa
65+
from loopy.transform.loop_fusion import (
66+
get_kennedy_unweighted_fusion_candidates, # noqa: F401
67+
)
6668
except ImportError:
6769
warn("Your loopy and meshmode branches are mismatched. "
6870
"Please make sure that you have the "
@@ -645,7 +647,7 @@ def get_reasonable_array_context_class(
645647
if not _HAVE_FUSION_ACTX:
646648
warn("No device-parallel actx available, execution will be slow. "
647649
"Please make sure you have the right branches for loopy "
648-
"(https://github.com/kaushikcfd/loopy/tree/pytato-array-context-transforms) " # noqa
650+
"(https://github.com/kaushikcfd/loopy/tree/pytato-array-context-transforms) " # noqa: E501
649651
"and meshmode "
650652
"(https://github.com/kaushikcfd/meshmode/tree/pytato-array-context-transforms).",
651653
stacklevel=1)

0 commit comments

Comments
 (0)