diff --git a/.flake8 b/.flake8
new file mode 100644
index 0000000000000000000000000000000000000000..6deafc261704e20369c0983af88042e502ae4880
--- /dev/null
+++ b/.flake8
@@ -0,0 +1,2 @@
+[flake8]
+max-line-length = 120
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000000000000000000000000000000000000..f713d5512551ef80e7efb95c446836ba29de776f
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,15 @@
+---
+
+image: registry.git.fsmpi.rwth-aachen.de/infra/ci-containers/fsmpi-python:buster
+
+before_script:
+  - export LANG=en_US.UTF-8
+
+stages:
+  - test
+
+test:
+  stage: test
+  script:
+    - "python3 -m py_compile *.py"
+    - flake8 .