peter-evans / autopep8

A GitHub action for autopep8, a tool that automatically formats Python code to conform to the PEP 8 style guide.
MIT License
84 stars 15 forks source link

Update autopep8 version to v2.0.1 #65

Closed HaiTo closed 1 year ago

HaiTo commented 1 year ago

autopep8 release

https://github.com/hhatto/autopep8/releases/tag/v2.0.1

Why I need

The version of autopep8 that my project depends on is 1.5.7. This wonderful GithubAction depends on 1.5.4, and the indentRule seems to have changed.

There was no such diff between 1.5.7 and 2.0.1. Of course, I have yet to check all Rules. But this PR should allow all users to install the latest autopep8.

thank you.

Example indent rule diff

             (Something(arg1=ArgFactory(parameter=1),
# autopep8=1.5.7
-             arg2=ArgumentType.TYPE1), arg3, arg4, arg5),
# autopep8=1.5.4
+                       arg2=ArgumentType.TYPE1), arg3, arg4, arg5),
peter-evans commented 1 year ago

Thank you!

peter-evans commented 1 year ago

Released as v2.0.0 / v2