> ## 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.

# pyright

> pyright is a linter for Python

[**pyright**](https://github.com/microsoft/pyright) is a linter for Python.

You can enable the pyright linter with:

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

## Auto Enabling

pyright will be auto-enabled if a `pyrightconfig.json` config file is present.

## Settings

pyright supports the following config files:

* `pyrightconfig.json`

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

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