File tree Expand file tree Collapse file tree 4 files changed +335
-131
lines changed Expand file tree Collapse file tree 4 files changed +335
-131
lines changed Original file line number Diff line number Diff line change 22
22
language : system
23
23
pass_filenames : true
24
24
types : ["python"]
25
- - id : safety
26
- name : safety
27
- entry : pipenv check
25
+ - id : pip-audit
26
+ name : pip-audit
27
+ entry : pipenv run pip-audit
28
28
language : system
29
29
pass_filenames : false
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ ruff: # Run 'ruff' linter and print a preview of errors
44
44
pipenv run ruff check .
45
45
46
46
safety : # Check for security vulnerabilities and verify Pipfile.lock is up-to-date
47
- pipenv check
47
+ pipenv run pip-audit
48
48
pipenv verify
49
49
50
50
lint-apply : # Apply changes with 'black' and resolve 'fixable errors' with 'ruff'
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ mypy = "*"
13
13
pre-commit = " *"
14
14
pytest = " *"
15
15
ruff = " *"
16
+ pip-audit = " *"
16
17
17
18
[requires ]
18
19
python_version = " 3.12"
You can’t perform that action at this time.
0 commit comments