From 361d49c721b9fa6e04babab6b0e2210d8656606e Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Wed, 1 Nov 2023 09:26:24 -0500 Subject: [PATCH] Install editable for pylint in CI --- .github/workflows/ci.yml | 5 +++++ .gitlab-ci.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6163e6cd5..9d9e4e138 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,11 @@ jobs: curl -L -O https://tiker.net/ci-support-v0 . ci-support-v0 + + # pylint seems unable to find the cython bits if not installed + # editable. -AK, 2023-11-01 + PROJECT_INSTALL_FLAGS="--editable" + build_py_project_in_conda_env run_pylint "$(get_proj_name)" examples/*.py test/*.py diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 36a80203d..fd8c56df6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -95,6 +95,11 @@ Pylint: export EXTRA_INSTALL="Cython pybind11 numpy scipy mako matplotlib" curl -L -O https://tiker.net/ci-support-v0 . ci-support-v0 + + # pylint seems unable to find the cython bits if not installed + # editable. -AK, 2023-11-01 + PROJECT_INSTALL_FLAGS="--editable" + build_py_project run_pylint "$(get_proj_name)" examples/*.py test/*.py tags: