Hey! These docs are for version 2.10, which is no longer officially supported. Click here for the latest version, 2.15!
./pants check [args]

Run type checking or the lightest variant of compilation available for a language.

Backend: pants.core
Config section: [check]

Basic options


--check-only="['<str>', '<str>', ...]"
default: []

Only run these checkerss and skip all others.

The checkers names are outputted at the final summary of running this goal, e.g. mypy and javac. You can also run check --only=fake to get a list of all activated checkerss.

You can repeat this option, e.g. check --only=mypy --only=javac or check --only=['mypy', 'javac'].

Advanced options


Deprecated options