direnv
- Python and
pip
. Download via w.e package manger you want/use, or via distributed download packages: see herepre-commit
installed viapip install --upgrade pre-commit
- GNU utils (
make
,sed
,find
, etc.)
Warning
sed
shipped with macOS by default is not the same as GNU sed!!! Be sure to install
the GNU coreutils/make/sed etc and then that they occur earlier appropriately in your
system's $PATH
.
git clone --recurse-submodules <git URL ...>
cd <project_repo>
cd <project_repo>
direnv allow .
To validate, run
which python
and be sure that the Python it points to is based under a .direnv/
folder in the current
project's directory.
make install-deps
pre-commit run --all-files
Do your work.
detect-secrets scan --update .secrets.baseline .
detect-secrets audit .secrets.baseline
Work through the interactive menu answering the prompts as appropriate.
Them,
git add .secrets.baseline
make check
Iterate and fix any issues that may arise.
git checkout -b my-feature-branch
git add <files>
git commit -m "<type>: <description>"
git push -u origin my-feature-branch
Navigate to github.com and open a pull request. Make the title the same as the initial conventional commit that was first pushed.