From 69f6a3742f73fc9a4e59ad5ee1aeb956b6f98639 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Wed, 29 Jul 2020 12:03:29 -0500 Subject: [PATCH] Placate pylint by disabling spurious not-callable warnings on pytest.mark.parametrize --- test/test_ab.py | 3 +++ test/test_codegen_fortran.py | 3 +++ test/test_imex.py | 3 +++ test/test_multirate.py | 3 +++ test/test_rk.py | 3 +++ test/test_step_matrix.py | 3 +++ 6 files changed, 18 insertions(+) diff --git a/test/test_ab.py b/test/test_ab.py index ea26fb8..41ccbf6 100755 --- a/test/test_ab.py +++ b/test/test_ab.py @@ -24,6 +24,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ +# avoid spurious: pytest.mark.parametrize is not callable +# pylint: disable=not-callable + import sys import pytest from leap.multistep import AdamsBashforthMethodBuilder diff --git a/test/test_codegen_fortran.py b/test/test_codegen_fortran.py index 12bdd5b..7c89c78 100755 --- a/test/test_codegen_fortran.py +++ b/test/test_codegen_fortran.py @@ -23,6 +23,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ +# avoid spurious: pytest.mark.parametrize is not callable +# pylint: disable=not-callable + import sys import pytest diff --git a/test/test_imex.py b/test/test_imex.py index 8e5b1d9..554b16b 100755 --- a/test/test_imex.py +++ b/test/test_imex.py @@ -23,6 +23,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ +# avoid spurious: pytest.mark.parametrize is not callable +# pylint: disable=not-callable + import numpy as np import pytest diff --git a/test/test_multirate.py b/test/test_multirate.py index 045ce07..f5285cb 100644 --- a/test/test_multirate.py +++ b/test/test_multirate.py @@ -26,6 +26,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ +# avoid spurious: pytest.mark.parametrize is not callable +# pylint: disable=not-callable + import numpy as np import numpy.linalg as la import pytest diff --git a/test/test_rk.py b/test/test_rk.py index d05266e..6fb2ea9 100755 --- a/test/test_rk.py +++ b/test/test_rk.py @@ -23,6 +23,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ +# avoid spurious: pytest.mark.parametrize is not callable +# pylint: disable=not-callable + import sys import pytest diff --git a/test/test_step_matrix.py b/test/test_step_matrix.py index 75c29d0..e1f73e9 100755 --- a/test/test_step_matrix.py +++ b/test/test_step_matrix.py @@ -23,6 +23,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ +# avoid spurious: pytest.mark.parametrize is not callable +# pylint: disable=not-callable + import sys import pytest -- GitLab