Skip to content

Commit c0dfba9

Browse files
committed
pySCG: add EXPECTED_FAILURE marker to CWE-798 compliant file
Mark CWE-798/compliant01.py with EXPECTED_FAILURE for deprecated Path() kwargs usage. This is a known issue documented in KNOWN_ISSUES.md that will be addressed in a follow-up PR. Signed-off-by: tommcd <[email protected]>
1 parent 487e8fd commit c0dfba9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/Secure-Coding-Guide-for-Python/CWE-693/CWE-798/compliant01.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# SPDX-FileCopyrightText: OpenSSF project contributors
22
# SPDX-License-Identifier: MIT
33
"""Compliant Code Example"""
4+
# EXPECTED_FAILURE: uses deprecated Path() kwargs, scheduled for removal in Python 3.14
45

56
import logging
67
from pathlib import Path

0 commit comments

Comments
 (0)