diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c45ccbc0ea611aa617e3f7d70f355ee6a1963df7..29b03464aeaf1b7dcb23943b1ada50910ebcdd2b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,7 +16,7 @@ pyflakes:
   script:
   - apt-get -qqy update
   - apt-get -qqy install --no-install-recommends pyflakes3
-  - pyflakes3 ./libmat2
+  - pyflakes3 ./libmat2 ./mat2 ./tests/
 
 mypy:
   stage: linting