This repository contains various bash
scripts
This repo uses pre-commit hooks for linting and formatting the source code before the commit.
- Install
pre-commit
using instructions here. Run this command for MacOS:
brew install pre-commit
- Install the hooks (should be done once per repository):
pre-commit install
The hooks will run automatically before every commit, fixing the files according to hooks configured in .pre-commit-config.yaml
.
If you want to run the checks manually without committing, use the command:
pre-commit run -a