mirror of
https://github.com/seemoo-lab/opendrop.git
synced 2026-09-16 16:16:12 -04:00
Replace yapf with black as formatter
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user