From 8fbc53694f3ab07b7eac1acc32d8f193a2e39c9c Mon Sep 17 00:00:00 2001
From: Frank Sauerburger <frank@sauerburger.com>
Date: Sat, 27 Aug 2022 10:13:06 +0200
Subject: [PATCH] Add linter

---
 .gitlab-ci.yml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index dde3f17..5636172 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,4 +16,17 @@ unittest:py3.10:
   <<: *unittest_template
   image: python:3.10
 
+################################################################################
+# Lint
+.pylint: &pylint_template
+  stage: test
+  script:
+    - pip install -r requirements.txt
+    - pip install pylint~=2.12.2
+    - pylint *py
+
+pylint:py3.10:
+  <<: *pylint_template
+  image: python:3.10
+
 
-- 
GitLab