Skip to content

Commit

Permalink
Install editable for pylint in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Nov 1, 2023
1 parent e6fe3d5 commit 256397f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 256397f

Please sign in to comment.