Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michiel Cottaar
fslpy
Commits
d1f8cca0
Commit
d1f8cca0
authored
7 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
whiltelist scipy for pylint, split up style stage a bit so it is easier to read
parent
7459668e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+10
-14
10 additions, 14 deletions
.gitlab-ci.yml
.pylintrc
+1
-1
1 addition, 1 deletion
.pylintrc
with
11 additions
and
15 deletions
.gitlab-ci.yml
+
10
−
14
View file @
d1f8cca0
...
...
@@ -244,24 +244,20 @@ variables:
-
$INSTALL_WX
# All other deps can be installed as
# normal. scipy is required by nibabel,
# but not listed in its requirements.
# We install test dependencies through
# pip, because if we let setuptools do
# it, it will build/install everything
# from source, rather than using wheels.
# All other deps can be installed as normal.
# We install test dependenciesd through pip,
# because if we let setuptools do it, it
# will build/install everything from source,
# rather than using wheels.
-
pip install -r requirements.txt
-
pip install sphinx sphinx-rtd-theme
-
pip install pytest pytest-cov pytest-html pytest-runner mock coverage
# style test
-
if [ "$TEST_STYLE"x != "x" ]; then
pip install pylint flake8;
flake8 fsl ||
true
;
pylint --output-format=colorized fsl ||
true
;
exit 0;
fi
# style stage
-
if [ "$TEST_STYLE"x != "x" ]; then pip install pylint flake8; fi;
-
if [ "$TEST_STYLE"x != "x" ]; then flake8 fsl ||
true
; fi;
-
if [ "$TEST_STYLE"x != "x" ]; then pylint --output-format=colorized fsl ||
true
; fi;
-
if [ "$TEST_STYLE"x != "x" ]; then exit 0; fi
# We need the FSL atlases for the atlas
# tests, and need $FSLDIR to be defined
...
...
This diff is collapsed.
Click to expand it.
.pylintrc
+
1
−
1
View file @
d1f8cca0
...
...
@@ -3,7 +3,7 @@
# 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
# 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
# paths.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment