aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..54c988a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+## Run code formatting check with Black
+run-black:
+ @echo ">>> Running Black..."
+ poetry run black gdpr_obfuscator test
+
+## Run test coverage check, omitting unnecessary files
+check-coverage:
+ @echo ">>> Running test coverage..."
+ poetry run coverage run -m pytest --testdox && poetry run coverage report -m
+
+## Run all checks
+run-checks: run-black check-coverage \ No newline at end of file
git.ajschof.me — hosted by ajschofield — powered by cgit