Autopep8 automatically formats Python code to meet PEP 8 standards, using pycodestyle to identify and correct formatting issues for cleaner code.
Autopep8arrow-up-right is a formatter for Python.
You can enable the Autopep8 formatter with:
trunk check enable autopep8
Autopep8 will be auto-enabled if a .pep8 config file is present.
.pep8
Autopep8 supports the following config files:
You can move these files to .trunk/configs and trunk check will still find them. See Moving Linters for more info.
.trunk/configs
trunk check
Autopep8 sitearrow-up-right
Autopep8 Trunk Code Quality integration sourcearrow-up-right
Trunk Code Quality's open source plugins repoarrow-up-right
Last updated 1 year ago