[pyk] Add make target for code formatting
@@ -7,11 +7,12 @@ export PATH := $(K_BIN):$(PATH)
.PHONY: default all clean install \
venv venv-dev venv-clean \
test test-unit test-integration test-pyk \
- check-code-style isort check-isort check-flake8 check-mypy
+ format isort autoflake black \
+ check check-isort check-autoflake check-black check-mypy
-default: check-code-style test-unit
+default: check test-unit
-all: check-code-style test
+all: check test
clean: venv-clean
rm -rf definitions build src/pyk.egg-info .myp_cache
@@ -75,9 +76,10 @@ test-pyk: venv-prod
rm -rf $(VENV_PROD_DIR) build src/pyk.egg-info
-# Checks
+# Checks and formatting
-check-code-style: check-isort check-autoflake check-black check-mypy
+format: isort autoflake black
+check: check-isort check-autoflake check-black check-mypy
isort: venv-dev
$(ACTIVATE_DEV) && isort src
