diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c6ae065af3f3fbc10dce8b7aa7240e612912c625..9d960a6f4eb920f920fb7398c1816e447e97e05e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,6 +10,7 @@ Python 3.5 Titan X: - nvidia-titan-x except: - tags + # Sumpy thus far is poorly parallelized (no workgroup-level parallelism), and # the Kepler has a tendency to hang as a result. # @@ -25,6 +26,7 @@ Python 3.5 Titan X: # - nvidia-k40 # except: # - tags + Python 2.7 POCL: script: - export PY_EXE=python2.7 @@ -37,6 +39,7 @@ Python 2.7 POCL: - pocl except: - tags + Python 3.5 POCL: script: - export PY_EXE=python3.5 @@ -49,6 +52,7 @@ Python 3.5 POCL: - pocl except: - tags + Documentation: script: - EXTRA_INSTALL="numpy mako" @@ -58,3 +62,12 @@ Documentation: - python3.5 only: - master + +Flake8: + script: + - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-flake8.sh + - ". ./prepare-and-run-flake8.sh sumpy test" + tags: + - python3.5 + except: + - tags diff --git a/sumpy/expansion/local.py b/sumpy/expansion/local.py index 2bb87b46f4f7de7d224b6cb8584951965d65e09f..6c1fd28a3d9bb6e4fbb3484d9b303a7f446b4711 100644 --- a/sumpy/expansion/local.py +++ b/sumpy/expansion/local.py @@ -33,6 +33,7 @@ from sumpy.expansion import ( class LocalExpansionBase(ExpansionBase): pass + import logging logger = logging.getLogger(__name__)