From fcc2d1bc07bd0f16aa4c9830618a86098d126369 Mon Sep 17 00:00:00 2001 From: Justin ! Date: Tue, 10 Nov 2020 00:18:13 -0500 Subject: Add quotes to the exclude pattern --- .github/workflows/main.yml | 2 +- .gitlab-ci.yml | 2 +- .travis.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cba2b62c..2df19b97 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ jobs: run: | pip install pylint pylint devel main mirrors news packages releng templates todolists visualize *.py - flake8 --exclude */migrations/ devel main mirrors news packages releng templates todolists visualize *.py + flake8 --exclude "*/migrations/" devel main mirrors news packages releng templates todolists visualize *.py - name: Run collectstatic run: | python manage.py collectstatic --noinput diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 740aa0bd..b7c3da39 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,7 @@ before_script: lint: script: - pylint devel main mirrors news packages releng templates todolists visualize *.py - - flake8 --exclude */migrations/ devel main mirrors news packages releng templates todolists visualize *.py + - flake8 --exclude "*/migrations/" devel main mirrors news packages releng templates todolists visualize *.py # TODO: https://docs.gitlab.com/ee/ci/junit_test_reports.html test: diff --git a/.travis.yml b/.travis.yml index d9c89531..62056fd5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ script: - python manage.py collectstatic --noinput - coverage run --rcfile .coveragerc manage.py test - pylint devel main mirrors news packages releng templates todolists visualize *.py - - flake8 --exclude */migrations/ devel main mirrors news packages releng templates todolists visualize *.py + - flake8 --exclude "*/migrations/" devel main mirrors news packages releng templates todolists visualize *.py after_success: - coveralls -- cgit v1.2.3-55-g3dc8