pytest -o log_cli=true --log-cli-level=DEBUG test/src/test_olm.py::test_create_subscription
- Update the
.secrets.baselinefile using:detect-secrets scan --update .secrets.baseline - Audit secrets using:
detect-secrets audit .secrets.baseline
The follow pre-commit hooks are enabled:
- autopep8
- flake8
- detect-secrets
These hooks are also executed in a GitHub action in the pre-commit workflow.
python -m pip install pre-commit --upgrade
pre-commit installManually run the pre-commit hooks against changed files
pre-commit runManually run the pre-commit hooks against all files
pre-commit run -aClone the python-devops repository locally. From the top level directory, run
make install build
NOTE: if building on MacOS you will need to first install pandoc:
brew install pandoc