Add Makefile with initial 'lint' target
authorJuerg Haefliger <juergh@proton.me>
Fri, 10 Feb 2023 07:09:51 +0000 (08:09 +0100)
committerJuerg Haefliger <juergh@proton.me>
Fri, 10 Feb 2023 07:33:28 +0000 (08:33 +0100)
Signed-off-by: Juerg Haefliger <juergh@proton.me>
Makefile [new file with mode: 0644]
setup.cfg [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..68a710b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,6 @@
+.PHONY: all lint
+
+all:  lint
+
+lint:
+       flake8 annotations .
diff --git a/setup.cfg b/setup.cfg
new file mode 100644 (file)
index 0000000..6fff888
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,5 @@
+[flake8]
+max_line_length = 120
+per-file-ignores =
+    # E402 module level import not at top of file
+    annotations: E402