summaryrefslogtreecommitdiffstats
path: root/util/cmake/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/cmake/Makefile')
-rw-r--r--util/cmake/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/util/cmake/Makefile b/util/cmake/Makefile
new file mode 100644
index 0000000000..2243ad111e
--- /dev/null
+++ b/util/cmake/Makefile
@@ -0,0 +1,20 @@
+
+test: flake8 mypy pytest black_format_check
+
+coverage:
+ pytest --cov .
+
+format:
+ black *.py --line-length 100
+
+black_format_check:
+ black *.py --line-length 100 --check
+
+flake8:
+ flake8 *.py --ignore=E501,E266,E203,W503
+
+pytest:
+ pytest
+
+mypy:
+ mypy --pretty *.py