Pre-commit hooks for PySentry security scanner.
Add PySentry to your .pre-commit-config.yaml
:
repos:
- repo: https://github.com/pysentry/pysentry-pre-commit
rev: v0.3.11
hooks:
- id: pysentry # default pysentry settings
repos:
- repo: https://github.com/pysentry/pysentry-pre-commit
rev: v0.3.11
hooks:
- id: pysentry
args: ["--sources", "pypa,osv", "--fail-on", "high"]