summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin ! <just1602@riseup.net>2020-11-10 00:18:13 -0500
committerjelle van der Waa <jelle@vdwaa.nl>2020-11-11 22:23:29 +0100
commitfcc2d1bc07bd0f16aa4c9830618a86098d126369 (patch)
treea72b7eae61a9fd711fb9ed6465b29546d478b89a
parent093e4f4c1f7baf0a185abdf2afee36a06976b212 (diff)
downloadarchweb-fcc2d1bc07bd0f16aa4c9830618a86098d126369.tar.gz
archweb-fcc2d1bc07bd0f16aa4c9830618a86098d126369.zip
Add quotes to the exclude pattern
-rw-r--r--.github/workflows/main.yml2
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--.travis.yml2
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