git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authormail_redacted_for_web 2025-08-20 09:59:42 +0200
committermail_redacted_for_web 2025-08-20 09:59:42 +0200
commit865e3aabe2d1f46a9c3692e8d51eb4379d7cc970 (patch)
tree86cc747bf72a802f185dd517708d6f70b895d0a1 /Makefile
downloadpython-skeleton-865e3aabe2d1f46a9c3692e8d51eb4379d7cc970.tar.bz2
Initial Commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..42b0160
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,31 @@
+PYTHON ?= python
+
+all:
+
+test:
+ $(MAKE) test-noclean
+ $(MAKE) clean
+
+test-noclean:
+ python3 -m pytest --benchmark-disable --tb=short
+
+typecheck:
+ $(MAKE) typecheck-noclean
+ $(MAKE) clean
+
+typecheck-noclean:
+ mypy -p project-dummy --warn-redundant-casts
+
+coverage:
+ $(MAKE) coverage-noclean
+ $(MAKE) clean
+
+coverage-noclean:
+ python3 -m pytest --cov project-dummy --benchmark-disable --tb=short
+
+clean:
+ @rm -rf ./dist/ ./__pycache__/ ./tests/__pycache__/
+ @rm -rf ./.benchmarks ./.pytest_cache ./.mypy_cache
+ @rm -rf ./packages/
+
+.PHONY: all clean test typecheck coverage