diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8164ee6..b82f251 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,4 +4,15 @@ repos: hooks: - id: flake8 additional_dependencies: [] - args: [--config=tox.ini] # Use the same config as in CI \ No newline at end of file + args: [--config=tox.ini] # Use the same config as in CI + + - repo: https://github.com/pypa/pip-audit + rev: v2.9.0 + hooks: + - id: pip-audit + args: ["./src"] + +ci: + # Leave pip-audit to only run locally and not in CI + # pre-commit.ci does not allow network calls + skip: [pip-audit] \ No newline at end of file