We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cadb8ae commit df8b7f5Copy full SHA for df8b7f5
scripts/common.Makefile
@@ -92,9 +92,9 @@ info: ## displays basic info
92
93
94
.PHONY: autoformat
95
-autoformat: ## runs black python formatter on this service's code
96
- # sort imports (NOTE: needs installed imports to work well)
97
- @python3 -m isort $(CURDIR)
+autoformat: ## runs black python formatter on this service's code. Use AFTER make install-*
+ # sort imports
+ @python3 -m isort --atomic -rc $(CURDIR)
98
# auto formatting with black
99
@python3 -m black --verbose \
100
--exclude "/(\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|\.svn|_build|buck-out|build|dist|migration|client-sdk|generated_code)/" \
0 commit comments