description | title | layout | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
yapf is a linter for Python |
Trunk | How to run yapf |
|
yapf is a linter for Python.
You can enable the yapf linter with:
trunk check enable yapf
yapf will be auto-enabled if any of its config files are present: .style.yapf
, .yapfignore
.
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.
- yapf site
- yapf Trunk Code Quality integration source
- Trunk Code Quality's open source plugins repo