Pre-commit In order to install pre-commit, either use it via the created environment in Poetry, or install it globally using either pip or pipx. Then run pre-commit install in order to install the hooks.