This website requires JavaScript.
Explore
Help
Sign In
luc14n0
/
glib
Watch
1
Star
0
Fork
0
You've already forked glib
mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced
2024-12-26 15:36:14 +01:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
345fbe0666
glib
/
.gitlab-ci
/
run-black.sh
7 lines
93 B
Bash
Raw
Normal View
History
Unescape
Escape
add 2 new stages: sh-check (which run shellcheck) and py-check (which run black and flake8) The debian docker have been modified to install these tools. Closes #2046 Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
2020-11-10 09:53:00 +01:00
#!/bin/bash
set
-e
Correct shellcheck errors (and ignore world splitting when we want it) Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
2020-11-11 09:50:31 +01:00
# shellcheck disable=SC2046
add 2 new stages: sh-check (which run shellcheck) and py-check (which run black and flake8) The debian docker have been modified to install these tools. Closes #2046 Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
2020-11-10 09:53:00 +01:00
black --diff --check
$(
git ls-files
'*.py'
)
Reference in New Issue
Copy Permalink