Introduction¶
Precommit is a tool designed to run specified scripts before changes are commited to your branch. The goal of these scripts is to automatically check and format your code so that is follows a standard, as specified in the .pre-commit-config.yaml
file. Sometimes, the given Precommit hooks cannot format everything automatically, and as such, it'll give you errors from the repective hooks, thus blocking your commit until the changes are fixed.