From 139075f567b66baa56dbedfce98c533ff0d87706 Mon Sep 17 00:00:00 2001
From: lukken <lukken@astron.nl>
Date: Wed, 9 Jun 2021 12:23:44 +0000
Subject: [PATCH] Allow linting failure and limit linting scope

---
 .gitlab-ci.yml | 1 +
 tox.ini        | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 96faf11c2..7ee1a9b99 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,6 +13,7 @@ stages:
   - unit-tests
 linting:
   stage: linting
+  allow_failure: true
   script:
     - tox -e pep8
 unit_test:
diff --git a/tox.ini b/tox.ini
index 1a33625c2..72b80f0d3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -18,5 +18,5 @@ commands = stestr run {posargs}
 [testenv:pep8]
 commands =
 ;    doc8 doc/source/ README.rst
-    flake8 {posargs}
+    flake8 devices/{posargs}
     bandit -r devices -x test -n5 -ll # -s B320
\ No newline at end of file
-- 
GitLab