tools used:
- make
- git
- asdf version manager
use asdf to ensure required tools are installed ... configured tools are in .tool-versions
cd ~/work/mesh-client
asdf plugin add python
asdf plugin add poetry
asdf installmake refresh-hooksmake install
source .venv/bin/activatestart the mesh-sandbox docker container
make upmake testto test all python versions configured
make toxproject uses:
run both with
make lintor individually with
make mypyor
make ruff project uses:
lint checks will fail if the code is not formatted correctly
make blackthe git-secrets script will try and avoid accidental committing of secrets
patterns are excluded using .gitdisallowed and allow listed using .gitallowed.
if the git hooks are registered make refresh hooks then secrets will be scanned for in the pre-commit hook.
You can check for secrets / test patterns at any time though with
make check-secrets-all