Fixed a bug where autopep8 parameters weren't noticed

This commit is contained in:
2019-11-17 23:53:00 +01:00
committed by GitHub
parent 4db3b98ca0
commit 4a8632c121

View File

@@ -28,7 +28,7 @@ pip install -r $INPUT_DEPENDENCIES || echo "No dependency file found."
# Apply PEP 8
echo "Running autopep8..."
autopep8 --in-place -r $INPUT_CHECKPATH ${INPUT_AUTOPARAMETERS:+"$INPUT_AUTOPARAMETERS"} || echo "Problem running autopep8."
autopep8 -i -r "$INPUT_CHECKPATH" ${INPUT_AUTOPARAMETERS:+"$INPUT_AUTOPARAMETERS"} || echo "Problem running autopep8."
if ! git diff --quiet
then