Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
Run safety check from a local hook
Browse files Browse the repository at this point in the history
  • Loading branch information
yrro committed Feb 18, 2023
1 parent ff28f39 commit 6824934
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ repos:
additional_dependencies:
- Flake8-pyproject
language_version: python3
- repo: https://github.com/Lucas-C/pre-commit-hooks-safety
rev: v1.3.1
- repo: local
hooks:
- id: python-safety-dependencies-check
- id: safety-check
name: safety check
entry: bash
args:
- -c
- poetry export --with=dev -E freeipa-vault -E container | safety check --stdin
language: system
files: pyproject.toml

0 comments on commit 6824934

Please sign in to comment.