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
Tags containing commit
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:
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
.pylintrc
+
1
−
1
View file @
d1f8cca0
...
@@ -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.
...
...
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