Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
id2
S
Software
S
services
FAIR
Software Quality Assurance
Commits
863b5641
Commit
863b5641
authored
May 20, 2020
by
Maximilian Dolling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modified pylint output
parent
b031a6c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
.gitlab-ci.yml
.gitlab-ci.yml
+5
-5
No files found.
.gitlab-ci.yml
View file @
863b5641
...
...
@@ -88,14 +88,14 @@ test:pylint:
before_script
:
-
pip install pylint
script
:
-
find . -iname '*.py' -not -path '**/venv/*' -exec pylint --rcfile test/linter/pylintrc {} +
-
SCORE=$(
find . -iname '*.py' -not -path '**/venv/*' -exec pylint --rcfile test/linter/pylintrc {} + | tail -2
| head -1)
-
find . -iname '*.py' -not -path '**/venv/*' -exec pylint --rcfile test/linter/pylintrc {} +
> pylintscore.txt
-
SCORE=$(
tail -2 pylintscore.txt
| head -1)
-
SCORE=${SCORE%/*/*}
-
SCORE=${SCORE##* }
-
echo $SCORE
only
:
changes
:
-
"
**/*.py"
#
only:
#
changes:
#
- "**/*.py"
test:unittest:
stage
:
test
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment