hhatto / autopep8

A tool that automatically formats Python code to conform to the PEP 8 style guide.
https://pypi.org/project/autopep8/
MIT License
4.54k stars 291 forks source link

add handling for E204 whitespace after decorator #752

Closed asottile closed 3 weeks ago

asottile commented 3 weeks ago

this is to handle the future error code E204 which is implemented here: https://github.com/PyCQA/pycodestyle/pull/1247

fortunately this was very easy to add support for here!

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.71%. Comparing base (a109296) to head (13fe322).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #752 +/- ## ======================================= Coverage 97.71% 97.71% ======================================= Files 1 1 Lines 2451 2452 +1 ======================================= + Hits 2395 2396 +1 Misses 56 56 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

asottile commented 3 weeks ago

this is ready for review -- pycodestyle 2.12.0 and flake8 7.1.0 have been released