Skip to content

Commit

Permalink
mraba/snyk-support-requirements: add pre-commit hook for auto generat…
Browse files Browse the repository at this point in the history
…ing requirements.txt
  • Loading branch information
sfc-gh-mraba committed Apr 22, 2024
1 parent 3086318 commit 7c28218
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,10 @@ repos:
- id: flake8
additional_dependencies:
- flake8-bugbear
- repo: local
hooks:
- id: requirements-update
name: "Update dependencies from pyproject.toml to snyk/requirements.txt"
language: system
entry: python snyk/update_requirements.py
files: ^pyproject.toml$

0 comments on commit 7c28218

Please sign in to comment.