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
swc-bb
S
swc-templates
S
swc-lessons
Software Publishing
Astronaut Analysis
Commits
0df9b192
Commit
0df9b192
authored
Jul 13, 2020
by
Maximilian Dolling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added linting pipeline
parent
026a2c7c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
0 deletions
+22
-0
.gitignore
.gitignore
+3
-0
.gitlab-ci.yml
.gitlab-ci.yml
+19
-0
src/astronauts-analysis.py
src/astronauts-analysis.py
+0
-0
No files found.
.gitignore
View file @
0df9b192
# Ignore plots
*.png
# Ignore IDE files
.idea
.gitlab-ci.yml
0 → 100644
View file @
0df9b192
stages
:
-
test
test:pylint:
stage
:
test
allow_failure
:
true
image
:
python:3
before_script
:
-
pip install pylint
script
:
-
SCORE=$(find . -iname '*.py' -not -path '**/venv/*' -exec pylint {} +)
-
echo $SCORE > pylintscore
-
SCORE=$(tail -1 pylintscore | head -1)
-
SCORE=${SCORE%/*/*}
-
SCORE=${SCORE##* }
-
echo $SCORE
only
:
changes
:
-
"
**/*.py"
astronauts-analysis.py
→
src/
astronauts-analysis.py
View file @
0df9b192
File moved
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