Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 574 Bytes

File metadata and controls

28 lines (21 loc) · 574 Bytes

PySentry Pre-commit Hooks

Pre-commit hooks for PySentry security scanner.

Pre-commit Integration

Setup

Add PySentry to your .pre-commit-config.yaml:

repos:
  - repo: https://github.com/pysentry/pysentry-pre-commit
    rev: v0.4.3
    hooks:
      - id: pysentry # default pysentry settings

Advanced Configuration

repos:
  - repo: https://github.com/pysentry/pysentry-pre-commit
    rev: v0.4.3
    hooks:
      - id: pysentry
        args: ["--sources", "pypa,osv", "--fail-on", "high"]