Python: Handle _ in sensitive-data-sources

This commit is contained in:
Rasmus Wriedt Larsen
2022-06-22 10:18:59 +02:00
parent 4a844312f4
commit 4be375521f
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ print(x) # $ SensitiveUse=password
# some prefixes makes us ignore it as a source
not_found.isSecret
not_found.is_secret # $ SPURIOUS: SensitiveDataSource=secret
not_found.is_secret
def my_func(non_sensitive_name):
x = non_sensitive_name()