Added black formatter to pre-commit hook

This commit is contained in:
Jef Roosens 2020-09-01 09:17:09 +02:00
parent 6f2d9d1dde
commit 7a7bd6fed4
14 changed files with 127 additions and 70 deletions

View file

@ -69,6 +69,11 @@ test: pytest.ini build-venv
lint: build-venv
@ "$(VENV)/bin/flake8" "$(SRC)"/**/*.py
# =====FORMATTING=====
# Run black
format: build-venv
@ "$(VENV)/bin/black" '$(SRC)'
# =====PACKAGING=====
package: README.md LICENSE setup.py test clean-setup