[v2,0/2] Python improvements to checkstyle.py
mbox series

Message ID 20240903161059.246075-1-stefan.klug@ideasonboard.com
Headers show
Series
  • Python improvements to checkstyle.py
Related show

Message

Stefan Klug Sept. 3, 2024, 4:10 p.m. UTC
Hi all,

This series used to improve the error reporting for python and add
autoformatting. But after some discussions it got clear that the issues
fixed by autopep8 are the same as the ones reported by pycodestyle. As
the checker runs on the unformatted changes it would report exactly the
same issues. So in the end this series just replaces the checker with
the autopep8 formatter.

Best regards,
Stefan

Stefan Klug (2):
  utils: checkstyle: Add a python formatter
  utils: checkstyle: Remove style checker for python pep8

 utils/checkstyle.py | 48 ++++++++++++++-------------------------------
 1 file changed, 15 insertions(+), 33 deletions(-)