summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml4
-rw-r--r--.gitlab-ci/test-msys2.sh2
-rw-r--r--Makefile.am2
3 files changed, 4 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d66f6149..e1ccd46f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,7 +19,7 @@ fedora-x86_64-meson-python3:
- meson test --print-errorlogs --suite=gobject-introspection --no-suite=glib
- cd ..
- python3 -m pip install --user flake8
- - python3 -m flake8
+ - python3 -m flake8 --count
except:
- tags
artifacts:
@@ -40,7 +40,7 @@ fedora-x86_64-meson-python2:
- meson test --print-errorlogs --suite=gobject-introspection --no-suite=glib
- cd ..
- python2 -m pip install --user flake8
- - python2 -m flake8
+ - python2 -m flake8 --count
except:
- tags
artifacts:
diff --git a/.gitlab-ci/test-msys2.sh b/.gitlab-ci/test-msys2.sh
index db4b087c..b51d0876 100644
--- a/.gitlab-ci/test-msys2.sh
+++ b/.gitlab-ci/test-msys2.sh
@@ -42,4 +42,4 @@ ninja
meson test --print-errorlogs --suite=gobject-introspection --no-suite=glib
cd ..
-python3 -m flake8
+python3 -m flake8 --count
diff --git a/Makefile.am b/Makefile.am
index 56dac796..44ed1153 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -63,7 +63,7 @@ EXTRA_DIST += \
.flake8
check.quality:
- (cd $(abs_top_srcdir) && $(PYTHON) -m flake8);
+ (cd $(abs_top_srcdir) && $(PYTHON) -m flake8 --count);
# Colin's handy Makefile bits for:
# 1) stuffing tarballs with pre-generated scripts from your workstation