Skip to content
Snippets Groups Projects
Commit d1f8cca0 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

whiltelist scipy for pylint, split up style stage a bit so it is easier to read

parent 7459668e
No related branches found
No related tags found
No related merge requests found
...@@ -244,24 +244,20 @@ variables: ...@@ -244,24 +244,20 @@ variables:
- $INSTALL_WX - $INSTALL_WX
# All other deps can be installed as # All other deps can be installed as normal.
# normal. scipy is required by nibabel, # We install test dependenciesd through pip,
# but not listed in its requirements. # because if we let setuptools do it, it
# We install test dependencies through # will build/install everything from source,
# pip, because if we let setuptools do # rather than using wheels.
# it, it will build/install everything
# from source, rather than using wheels.
- pip install -r requirements.txt - pip install -r requirements.txt
- pip install sphinx sphinx-rtd-theme - pip install sphinx sphinx-rtd-theme
- pip install pytest pytest-cov pytest-html pytest-runner mock coverage - pip install pytest pytest-cov pytest-html pytest-runner mock coverage
# style test # style stage
- if [ "$TEST_STYLE"x != "x" ]; then - if [ "$TEST_STYLE"x != "x" ]; then pip install pylint flake8; fi;
pip install pylint flake8; - if [ "$TEST_STYLE"x != "x" ]; then flake8 fsl || true; fi;
flake8 fsl || true; - if [ "$TEST_STYLE"x != "x" ]; then pylint --output-format=colorized fsl || true; fi;
pylint --output-format=colorized fsl || true; - if [ "$TEST_STYLE"x != "x" ]; then exit 0; fi
exit 0;
fi
# We need the FSL atlases for the atlas # We need the FSL atlases for the atlas
# tests, and need $FSLDIR to be defined # tests, and need $FSLDIR to be defined
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# A comma-separated list of package or module names from where C extensions may # A comma-separated list of package or module names from where C extensions may
# be loaded. Extensions are loading into the active Python interpreter and may # be loaded. Extensions are loading into the active Python interpreter and may
# run arbitrary code # run arbitrary code
extension-pkg-whitelist=numpy,wx extension-pkg-whitelist=numpy,wx,scipy
# Add files or directories to the blacklist. They should be base names, not # Add files or directories to the blacklist. They should be base names, not
# paths. # paths.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment