mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-15 08:40:34 +03:00
pre-commit: Fix safety
invocation
For some reason this was complaining about file names being passed in by pre-commit when `requirements-dev.txt` and `requirements.txt` were the two changed files. Explicitly passing them in `files:` config avoids this.
This commit is contained in:
parent
3cee7bc1b0
commit
ac7aefbd3e
@ -72,8 +72,9 @@ repos:
|
||||
hooks:
|
||||
- id: python-safety-dependencies-check
|
||||
entry: safety
|
||||
args: [check, --bare, -r]
|
||||
args: [check, --bare, --file]
|
||||
language: system
|
||||
files: requirements-dev.txt, requirements.txt
|
||||
|
||||
# Check translation comments are up to date
|
||||
- repo: local
|
||||
|
Loading…
x
Reference in New Issue
Block a user