summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d1eae2c..498f371 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,7 +8,7 @@ lint_python:
script:
- apt-get update -qy
- apt-get install -y black
- - black --check --diff bin/*.py lib/*.py
+ - find bin lib -type f -name '*.py' | xargs black --check --diff
rules:
- if: '$CI_COMMIT_BRANCH == "master"'