Pre-commit & Pre-push Git Hooks
- To add pre-push and pre-commit hooks you need
pre-commitlibrary. - For linting and formatting the code I prefer Ruff.
[!NOTE]
You do not need to install Ruff, it will use the link provided in the
.pre-commit-config.yamlfile to know how it should format and lint your code.