mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 18:10:08 +01:00
gitlab-ci: enable python black check in gitlab-ci
This commit is contained in:
parent
70f3ad6785
commit
8c3ee4e857
1 changed files with 2 additions and 1 deletions
|
|
@ -77,8 +77,9 @@ checkpatch:
|
|||
image: fedora:32
|
||||
stage: test
|
||||
script:
|
||||
- date '+%Y%m%d-%H%M%S'; dnf install -y git
|
||||
- date '+%Y%m%d-%H%M%S'; dnf install -y git black
|
||||
- date '+%Y%m%d-%H%M%S'; NM_CHECKPATCH_FETCH_UPSTREAM=1 contrib/scripts/checkpatch-feature-branch.sh 2>&1 | tee checkpatch-out.txt
|
||||
- date '+%Y%m%d-%H%M%S'; black --check .
|
||||
allow_failure: true
|
||||
artifacts:
|
||||
when: on_failure
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue