Skip to main content
pyright is a linter for Python. You can enable the pyright linter with:
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 for more info.