commit - 1f0971955f5867869f462fa966d96d2fa956b6f2
commit + 02d2864087f620a5e22ed8bd8031f148ab76ac95
blob - 286891c88c8366f79f4e4c09d3d40dc31b305d42
blob + aa937f428338799a928640e2e3ff2227be4195fd
--- Makefile
+++ Makefile
PYTHON = python3
-PYFLAKES = $(PYTHON) -m pyflakes
-PEP8 = pep8
RUFF ?= $(PYTHON) -m ruff
SETUP = $(PYTHON) setup.py
TESTRUNNER ?= unittest
$(SETUP) clean --all
rm -f dulwich/*.so
-flakes:
- $(PYFLAKES) dulwich
-
-pep8:
- $(PEP8) dulwich
-
style:
$(RUFF) check .
-before-push: check
- git diff origin/master | $(PEP8) --diff
-
coverage:
$(COVERAGE) run -m unittest dulwich.tests.test_suite dulwich.contrib.test_suite