> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trunk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# sourcery

> sourcery is a linter for Python

[**sourcery**](https://sourcery.ai/) is a linter for Python.

You can enable the sourcery linter with:

```shell theme={null}
trunk check enable sourcery
```

## Auto Enabling

sourcery will never be auto-enabled. It must be enabled manually.

## Settings

sourcery supports the following config files:

* `.sourcery.yaml`
* `sourcery.yaml`

You can move these files to `.trunk/configs` and `trunk check` will still find them. See [Moving Linters](../configure-linters#moving-linters) for more info.

## Links

* [sourcery site](https://sourcery.ai/)
* sourcery Trunk Code Quality [integration source](https://github.com/trunk-io/plugins/tree/main/linters/sourcery)
* Trunk Code Quality's [open source plugins repo](https://github.com/trunk-io/plugins/tree/main)
