yapf

yapf is a linter for Python.

You can enable the yapf linter with:

trunk check enable yapf

Auto Enabling

yapf will be auto-enabled if any of its config files are present: .style.yapf, .yapfignore.

Settings

yapf supports the following config files:

  • .style.yapf

  • .yapfignore

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

Last updated