Use a lightweight inspection profile on commit

Fully customise the checks you must perform before you commit your changes to version control

You can select an inspection profile for running analysis before commit. Using an inspection profile with a much smaller number of checks, for example only Java errors and warnings, can run much faster than our full inspection profile and prevent us from committing breaking changes.