diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-10-26 10:35:50 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-10-26 10:35:50 +0100 |
commit | 506a49fd49e028055378af2e35d6022e6bb99b9c (patch) | |
tree | f039ddd3edeb5eb70d9e6e86278131bd2b6dd434 /.gitlab-ci.yml | |
parent | 8494b500712d06be15b53aebaed730c88e5c2b20 (diff) |
blacken code; do not run lint check on external Python libraries
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 2 |
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"' |