Skip to content

Commit d4f3a5d

Browse files
chore(ci): add snyk requirements task
1 parent 1d57a58 commit d4f3a5d

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ docker run -it --rm \
117117
### Run Snyk locally (dependencies)
118118

119119
```bash
120-
uv export --all-extras --no-hashes > snyk-requirements.txt
120+
uv run poe snyk-requirements
121121
snyk test --file=snyk-requirements.txt --severity-threshold=high --skip-unresolved
122122
rm -f snyk-requirements.txt
123123
```

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,6 @@ asyncio_default_fixture_loop_scope = "module"
114114
filterwarnings = [
115115
"ignore::DeprecationWarning",
116116
]
117+
118+
[tool.poe.tasks]
119+
snyk-requirements = "uv export --all-extras --no-hashes > snyk-requirements.txt"

0 commit comments

Comments
 (0)