]> Frank Brehm's Git Trees - pixelpark/python-packaging.git/commitdiff
Fixing gitlab/linter.yaml
authorFrank Brehm <frank@brehm-online.com>
Thu, 29 Dec 2022 10:50:48 +0000 (11:50 +0100)
committerFrank Brehm <frank@brehm-online.com>
Thu, 29 Dec 2022 10:50:48 +0000 (11:50 +0100)
gitlab/linter.yaml

index 4d9589cfc61942d3cb98db030da8b8b6f7812700..7468ab609ab73f3bbc4896aa09be3dbd2363d8c3 100644 (file)
@@ -53,10 +53,8 @@ Linter:
     - python --version
     - pip install --upgrade --upgrade-strategy eager flake8 pylint
     - >
-      YAML_FILE_PATHS=""
-      if [[ -f ".gitlab-ci.yml" ]] ; then
-          YAML_FILE_PATHS=".gitlab-ci.yml"
-      fi
+      YAML_FILE_PATHS="";
+      if [[ -f ".gitlab-ci.yml" ]] ; then YAML_FILE_PATHS=".gitlab-ci.yml"; fi
       if [[ -d ".github" ]] ; then
           if [[ -z "${YAML_FILE_PATHS}" ]] ; then
               YAML_FILE_PATHS=".github"