Skip to content

Commit 3f97353

Browse files
authored
Merge pull request #142 from MITLibraries/TIMX-494-pip-audit-and-logging-updates
TIMX 494 - pip audit and logging updates
2 parents 1cac28b + e47a210 commit 3f97353

6 files changed

Lines changed: 938 additions & 684 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,5 @@ cython_debug/
159159

160160
# VSCode
161161
.vscode
162+
163+
output/

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ repos:
2222
language: system
2323
pass_filenames: true
2424
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
2828
language: system
2929
pass_filenames: false

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ ruff: # Run 'ruff' linter and print a preview of errors
4444
pipenv run ruff check .
4545

4646
safety: # Check for security vulnerabilities and verify Pipfile.lock is up-to-date
47-
pipenv check
47+
pipenv run pip-audit
4848
pipenv verify
4949

5050
lint-apply: black-apply ruff-apply # Apply changes with 'black' and resolve 'fixable errors' with 'ruff'

Pipfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,7 @@ pyarrow-stubs = "*"
2424
pytest = "*"
2525
ruff = "*"
2626
setuptools = "*"
27+
pip-audit = "*"
28+
2729
[requires]
2830
python_version = "3.12"

0 commit comments

Comments
 (0)