Skip to content

Commit 2d2373b

Browse files
committed
Enabled safety check for unpinned requirements
Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
1 parent d3b599f commit 2d2373b

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.safety-policy-develop.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ security:
1717
# Should be set to False.
1818
ignore-cvss-unknown-severity: False
1919

20+
# Ignore unpinned requirements
21+
# Default is true. "Unpinned" in this case means anything else but "==".
22+
# Since we are checking against the minimum-constraints file, this check
23+
# is enabled (false).
24+
ignore-unpinned-requirements: false
25+
2026
# List of specific vulnerabilities to ignore.
2127
# {id}: # vulnerability ID
2228
# reason: {text} # optional: Reason for ignoring it. Will be reported in the Safety reports

.safety-policy-install.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ security:
1717
# Should be set to False.
1818
ignore-cvss-unknown-severity: False
1919

20+
# Ignore unpinned requirements
21+
# Default is true. "Unpinned" in this case means anything else but "==".
22+
# Since we are checking against the minimum-constraints file, this check
23+
# is enabled (false).
24+
ignore-unpinned-requirements: false
25+
2026
# List of specific vulnerabilities to ignore.
2127
# {id}: # vulnerability ID
2228
# reason: {text} # optional: Reason for ignoring it. Will be reported in the Safety reports

0 commit comments

Comments
 (0)