From a405d19fab5fb1f74125a525e25d360a2fdb583f Mon Sep 17 00:00:00 2001 From: Shion Ichikawa Date: Sun, 28 Jan 2024 03:50:12 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20suggestion:=20Makefile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..02a5330b --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +.PHONY: lint +lint: + flake8 ./ --exclude .venv,*_pb2.py --max-line-length=150 --ignore=F403,F405,F541 + +.PHONY: format +format: + autopep8 --in-place --aggressive --aggressive --recursive ./ --exclude .venv,*_pb2.py --max-line-length=150 + autoflake --in-place --recursive --remove-all-unused-imports --remove-unused-variables ./ --exclude .venv