From: Juerg Haefliger Date: Fri, 10 Feb 2023 07:09:51 +0000 (+0100) Subject: Add Makefile with initial 'lint' target X-Git-Tag: v0.1~32 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=d3c95a65fa38cf5e1f5964f4f1c7a4c3ea218e8f;p=annotations.git Add Makefile with initial 'lint' target Signed-off-by: Juerg Haefliger --- 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