diff --git a/Makefile b/Makefile index 12b26cbbe27..098b7c20788 100644 --- a/Makefile +++ b/Makefile @@ -61,6 +61,9 @@ clean: clean-extension clean-pg_send_cancellation reindent: ${citus_abs_top_srcdir}/ci/fix_style.sh check-style: + black . --check --quiet + isort . --check --quiet + flake8 cd ${citus_abs_top_srcdir} && citus_indent --quiet --check .PHONY: reindent check-style diff --git a/ci/fix_style.sh b/ci/fix_style.sh index 69a8bbeb536..3d6e7ae83eb 100755 --- a/ci/fix_style.sh +++ b/ci/fix_style.sh @@ -9,6 +9,8 @@ cidir="${0%/*}" cd ${cidir}/.. citus_indent . --quiet +black . --quiet +isort . --quiet ci/editorconfig.sh ci/remove_useless_declarations.sh ci/disallow_c_comments_in_migrations.sh