Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD 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
FSL
fslpy
Commits
04f29154
Commit
04f29154
authored
7 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
Use flake8/pylint configs
parent
ca7465d3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-4
2 additions, 4 deletions
.gitlab-ci.yml
with
2 additions
and
4 deletions
.gitlab-ci.yml
+
2
−
4
View file @
04f29154
...
...
@@ -79,8 +79,6 @@ variables:
UPSTREAM_PROJECT
:
"
fsl/fslpy"
UPSTREAM_URL
:
"
git@git.fmrib.ox.ac.uk"
TEST_OPTS
:
"
--cov-report=
--cov-append"
FLAKE8_OPTS
:
"
--ignore=E127,E201,E203,E221,E222,E241,E271,E272,E301,E302,E303,E701"
PYLINT_OPTS
:
"
--extension-pkg-whitelist=numpy,wx
--generated-members=np.int8,np.uint8,np.int16,np.uint16,np.int32,np.uint32,np.int64,np.uint64,np.float32,np.float64,np.float128,wx.PyDeadObjectError
--disable=R,C,W0511,W0703,W1202"
####################################
...
...
@@ -328,8 +326,8 @@ style:
script
:
-
pip install flake8 pylint
-
flake8
$FLAKE8_OPTS
fsl ||
true
-
pylint
$PYLINT_OPTS
--output-format=colorized fsl ||
true
-
flake8 fsl ||
true
-
pylint --output-format=colorized fsl ||
true
###########
...
...
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