Skip to content

Commit cefac37

Browse files
committed
ci: uv audit replaces uv-secure
1 parent 11c1034 commit cefac37

4 files changed

Lines changed: 6 additions & 440 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ repos:
1111
- pre-push
1212
repo: https://github.com/commitizen-tools/commitizen
1313
rev: v4.5.0
14-
- repo: https://github.com/owenlamont/uv-secure
15-
rev: 0.13.0
14+
- repo: https://github.com/astral-sh/uv-pre-commit
15+
# uv version.
16+
rev: 0.11.8
1617
hooks:
17-
- id: uv-secure
18+
- id: uv-audit

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ pipeline {
183183
timeout(5)
184184
}
185185
steps{
186-
catchError(buildResult: 'UNSTABLE', message: 'uv-secure found issues', stageResult: 'UNSTABLE') {
187-
sh 'uv run uv-secure --disable-cache uv.lock'
186+
catchError(buildResult: 'UNSTABLE', message: 'uv audit found issues', stageResult: 'UNSTABLE') {
187+
sh 'uv audit'
188188
}
189189
}
190190
}

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ tripwire = "uiucprescon.tripwire.main:main"
2828
[dependency-groups]
2929
test = ["pytest>7"]
3030
docs = ["sphinx"]
31-
audit-dependencies = ['uv-secure']
3231
type-checking = ["mypy", "types-tqdm"]
3332
lint = ["ruff"]
3433
tox = ["tox"]
@@ -40,7 +39,6 @@ dev = [
4039
"lxml",
4140
"pre-commit",
4241
"pytest",
43-
{include-group = "audit-dependencies"},
4442
{include-group = "docs"},
4543
{include-group = "lint"},
4644
{include-group = "test"},

0 commit comments

Comments
 (0)