From 90d75419b8c58382184759f4d757ad01d929932a Mon Sep 17 00:00:00 2001 From: Andrew Moore <20435317+andrewmooreio@users.noreply.github.com> Date: Mon, 14 Oct 2024 10:06:15 +0100 Subject: [PATCH] fix: autopep8 path --- code-formatter/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code-formatter/action.yml b/code-formatter/action.yml index 7a85e2a..3101457 100644 --- a/code-formatter/action.yml +++ b/code-formatter/action.yml @@ -162,7 +162,7 @@ runs: if [[ $file == *".github"* ]]; then echo "Cannot format .github/workflow files." elif [[ $file == *".py"* ]]; then - python3 -m autopep8 --in-place $file + ~/.local/bin/autopep8 --in-place $file elif [[ $file == *".rb"* ]]; then bundle exec standardrb --fix $file elif [[ $file == *".tf" ]] || [[ $file == *".tfvars" ]]; then