⚙️ Global Set up
In this section we will cover how to set up common tools for the whole project.
⚒️ Set up common project tools
⚓ Pre-commit
Pre-commit is used for ensuring code quality before it gets commited. When installing pre-commit hooks a check will be triggered before commiting, according to the rules specified in .pre-commit-config.yaml
. If the check fails the commit won't be submitted.
1. Install dependencies
2. Install pre-commits hooks
3. Force pre-commit run on all files (optional)
If you want to test pre-commit before commiting to the repository run the following command:
🧩 Extensions (VSCODE)
- Open the project Backend or Frontend (each one has its own recommended extensions)
- Go to extensions section on sidebar
- Select filter extensions
- Recommended
- Workspace recommended
- Install workspace recommended