# pyright

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

You can enable the pyright linter with:

```shell
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](https://docs.trunk.io/code-quality/overview/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)
