autopep8 is a linter for Python.

You can enable the autopep8 linter with:

trunk check enable autopep8

Auto Enabling

autopep8 will be auto-enabled if a .pep8 config file is present.


autopep8 supports the following config files:

  • .pep8

You can move these files to .trunk/configs and trunk check will still find them. See Moving Linter Configs for more info.

Last updated