diff --git a/.ci/ruff.sh b/.ci/ruff.sh
index be9a4f34a7ae6aa85eba9be09bf1885202a744bf..f70bf2e3bf5f15710e8db5677f7dd1837c9cf07b 100755
--- a/.ci/ruff.sh
+++ b/.ci/ruff.sh
@@ -12,3 +12,4 @@ set -x
 
 # shellcheck disable=SC2046
 ruff check $(find .ci -name '*.py')
+ruff format --diff