Add `make lint`
This commit is contained in:
parent
0c4177b783
commit
008c0c8230
4
Makefile
4
Makefile
|
@ -3,6 +3,10 @@
|
||||||
help: ## display this help
|
help: ## display this help
|
||||||
@awk 'BEGIN{FS = ":.*##"; printf "\033[1m\nUsage\n \033[1;92m make\033[0;36m <target>\033[0m\n"} /^[a-zA-Z0-9_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } ' $(MAKEFILE_LIST)
|
@awk 'BEGIN{FS = ":.*##"; printf "\033[1m\nUsage\n \033[1;92m make\033[0;36m <target>\033[0m\n"} /^[a-zA-Z0-9_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } ' $(MAKEFILE_LIST)
|
||||||
|
|
||||||
|
lint: ## run linters
|
||||||
|
nix fmt
|
||||||
|
black **/*.py
|
||||||
|
|
||||||
test: ## run pytest
|
test: ## run pytest
|
||||||
python -m pytest
|
python -m pytest
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue