mirror of
https://github.com/creyD/autopep8_action.git
synced 2026-04-18 06:10:31 +02:00
Removed install commands from sh
This commit is contained in:
@@ -20,13 +20,11 @@ EOF
|
|||||||
git config --global user.name "GitHub Action"
|
git config --global user.name "GitHub Action"
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "Installing autopep8..."
|
|
||||||
pip install -q --upgrade pip
|
|
||||||
pip install -q autopep8
|
|
||||||
|
|
||||||
echo "Running autopep8..."
|
echo "Running autopep8..."
|
||||||
autopep8 -i -r $INPUT_CHECKPATH $INPUT_OPTIONS || echo "Problem running autopep8!"
|
autopep8 -i -r $INPUT_CHECKPATH $INPUT_OPTIONS || echo "Problem running autopep8!"
|
||||||
|
|
||||||
|
git status -s
|
||||||
|
|
||||||
if [-n "$(git status -s)"]; then
|
if [-n "$(git status -s)"]; then
|
||||||
if $INPUT_DRY; then
|
if $INPUT_DRY; then
|
||||||
echo "Found non-compliant files!"
|
echo "Found non-compliant files!"
|
||||||
|
|||||||
Reference in New Issue
Block a user