aboutsummaryrefslogtreecommitdiffstats
path: root/checker/Makefile
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2021-07-02 00:08:54 +0200
committerLouis Burda <quent.burda@gmail.com>2021-07-02 00:31:46 +0200
commitecf4de6db67ce19d90a0b55ad8c1544087398a4c (patch)
tree8988e5cc79a54f6c692130aaa669e73b66e42c4d /checker/Makefile
parent7501a1d6c20581312eb37de883ab52e83e27c8fa (diff)
downloadenowars5-service-stldoctor-ecf4de6db67ce19d90a0b55ad8c1544087398a4c.tar.gz
enowars5-service-stldoctor-ecf4de6db67ce19d90a0b55ad8c1544087398a4c.zip
refactored code to be style compliant and mostly statically typed with mypy
Diffstat (limited to 'checker/Makefile')
-rw-r--r--checker/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/checker/Makefile b/checker/Makefile
new file mode 100644
index 0000000..592de2f
--- /dev/null
+++ b/checker/Makefile
@@ -0,0 +1,17 @@
+.PHONY: all lint diff format test
+
+all: format test
+
+lint:
+ python3 -m black --check src
+ python3 -m flake8 src
+ python3 -m mypy src
+
+diff:
+ python3 -m isort --diff src
+ python3 -m black --diff src
+
+format:
+ python3 -m isort src
+ python3 -m black src
+