From d3c95a65fa38cf5e1f5964f4f1c7a4c3ea218e8f Mon Sep 17 00:00:00 2001 From: Juerg Haefliger Date: Fri, 10 Feb 2023 08:09:51 +0100 Subject: [PATCH] Add Makefile with initial 'lint' target Signed-off-by: Juerg Haefliger --- Makefile | 6 ++++++ setup.cfg | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 Makefile create mode 100644 setup.cfg diff --git a/Makefile b/Makefile new file mode 100644 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 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 -- 2.31.1