Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mpsd-software-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
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
MPSD Computational Science
mpsd-software-manager
Merge requests
!3
allow CI to fail if ruff or black is unhappy, and format source to make it pass
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
allow CI to fail if ruff or black is unhappy, and format source to make it pass
activate-style-checks-in-ci
into
linux-debian11
Overview
4
Commits
7
Pipelines
4
Changes
3
All threads resolved!
Show all comments
Merged
Hans Fangohr
requested to merge
activate-style-checks-in-ci
into
linux-debian11
1 year ago
Overview
4
Commits
7
Pipelines
4
Changes
3
All threads resolved!
Show all comments
Expand
0
0
Merge request reports
Compare
linux-debian11
version 3
c8078b35
1 year ago
version 2
949e8fe8
1 year ago
version 1
7a02c796
1 year ago
linux-debian11 (base)
and
latest version
latest version
a0aefbfe
7 commits,
1 year ago
version 3
c8078b35
5 commits,
1 year ago
version 2
949e8fe8
3 commits,
1 year ago
version 1
7a02c796
1 commit,
1 year ago
3 files
+
114
−
67
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
.gitlab-ci.yml
+
15
−
18
Options
image
:
python:latest
stages
:
-
test-style
-
test
before_script
:
-
cat /etc/issue
-
python -V
-
which python
-
python -m venv ../venv
-
source ../venv/bin/activate
-
which python
-
pwd
-
pip install -U pip
-
pip --version
-
pip install pytest black ruff
-
pytest --version
-
cat /etc/issue
-
python -V
-
which python
-
python -m venv ../venv
-
source ../venv/bin/activate
-
which python
-
pwd
-
pip install -U pip
-
pip --version
-
pip install pytest black ruff
-
pytest --version
style
:
stage
:
test
-style
stage
:
test
image
:
python:latest
script
:
-
black --version
-
ruff --version
-
ruff .
||
true
-
black --check --diff .
||
true
-
ruff .
-
black --check --diff .
test3-09
:
@@ -49,4 +47,3 @@ test3-11:
script
:
-
echo "run tests here later"
-
python --version
Loading