From f960a24eb609a2262b2ae3adaafbf9e3af21581d Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Sun, 30 Jan 2022 15:02:43 +0100 Subject: [PATCH] chore: add makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • formatting • linting • type check • test runner Signed-off-by: Matej Focko --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..db6aff4 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +check: black flake8 mypy + pytest -vvv --log-level debug + +black: + black --line-length=79 *.py + +flake8: + flake8 *.py + +mypy: + mypy --strict --disallow-any-explicit node.py avl.py wavl.py ravl.py