mirror of
https://github.com/creyD/autopep8_action.git
synced 2026-04-12 19:40:28 +02:00
Added Custom Checkpath and Parameters Options
This commit is contained in:
@@ -28,7 +28,7 @@ pip install -r $INPUT_DEPENDENCIES || echo "No dependency file found."
|
||||
|
||||
# Apply PEP 8
|
||||
echo "Running autopep8..."
|
||||
autopep8 --in-place -r . || echo "Problem running autopep8."
|
||||
autopep8 --in-place -r $INPUT_CHECKPATH ${INPUT_AUTOPARAMETERS:+"$INPUT_AUTOPARAMETERS"} || echo "Problem running autopep8."
|
||||
|
||||
if ! git diff --quiet
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user