diff --git a/.flake8 b/.flake8
new file mode 100644
index 0000000000000000000000000000000000000000..5701df707c82aa801b4a6bb80a98a56b42cb1e8c
--- /dev/null
+++ b/.flake8
@@ -0,0 +1,6 @@
+[flake8]
+max-line-length=120
+exclude=pystencils/jupyter.py,
+        pystencils/plot.py
+        pystencils/session.py
+ignore = W293 W503 W291 C901 E741