diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c139d76d52c57c99f7a4fa8a01b11d1c1b48c30e..5435d8fb8e634b003d5f5000571f08c8bcb1af29 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,8 +28,7 @@ flake8:
   - passoft
   stage: Static Analysis and Test
   script:
-  - flake8 --ignore=E501,W503 lemi2seed
-  - flake8 tests
+  - flake8 --ignore=E501,W503 lemi2seed tests
 
 mypy:
   image: python:3.8
diff --git a/tox.ini b/tox.ini
index 642474042b3ee00681933c2cb97b39dac82d261d..a76f929546136bbeb71f15e885a981b2a4bfa172 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,8 +4,7 @@ envlist = py37, py38, py39, flake8, mypy
 [testenv:flake8]
 basepython = python
 deps = flake8
-commands = flake8 --ignore=E501,W503 lemi2seed
-           flake8 tests
+commands = flake8 --ignore=E501,W503 lemi2seed tests
 
 [testenv:mypy]
 basepython = python