Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore jinja safty warning, as therer is no fix #577

Merged
merged 2 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:

- name: Upgrade pip
run: |
pip install --constraint=.github/workflows/constraints.txt pip
pip install --force-reinstall --constraint=.github/workflows/constraints.txt pip pipx
pip --version

- name: Install Poetry
Expand Down
3 changes: 2 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,10 @@ def precommit(session: Session) -> None:
@session(python=python_versions[2])
def safety(session: Session) -> None:
"""Scan dependencies for insecure packages."""
ignore_CVEs = [70612]
requirements = session.poetry.export_requirements()
session.install("safety")
session.run("safety", "check", f"--file={requirements}")
session.run("safety", "check", f"--file={requirements}", *[f"-i{id}" for id in ignore_CVEs])


@session(python=python_versions)
Expand Down
Loading