Replace yapf with black as formatter

This commit is contained in:
Milan Stute
2020-11-30 19:52:15 +01:00
parent 5e2ff4210f
commit c926eaf710
13 changed files with 480 additions and 319 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ endif
touch $(VENV)/bin/activate
checkformat: $(VENV)
$(PYTHON) -m yapf . -r --diff --exclude $(VENV)
$(PYTHON) -m black . --check --diff --exclude $(VENV)
lint: $(VENV)
$(PYTHON) -m flake8 . --count --show-source --statistics --exclude $(VENV)
@@ -27,4 +27,4 @@ test: $(VENV)
$(PYTHON) -m pytest
autoformat: $(VENV)
$(PYTHON) -m yapf . -r --in-place --exclude $(VENV)
$(PYTHON) -m black . --exclude $(VENV)