fix: allowlist — add regexTarget=match for global allowlist; allow Python private fn on RHS
This commit is contained in:
parent
56b4cf010f
commit
481ad4b43e
1 changed files with 3 additions and 0 deletions
|
|
@ -61,4 +61,7 @@ regexes = [
|
||||||
'sk-abcdefghijklmnopqrstuvwxyz',
|
'sk-abcdefghijklmnopqrstuvwxyz',
|
||||||
'your-forgejo-api-token-here',
|
'your-forgejo-api-token-here',
|
||||||
'your-[a-z\-]+-here',
|
'your-[a-z\-]+-here',
|
||||||
|
# Python private function/variable on RHS — token = _some_func() is not a secret
|
||||||
|
'=\s+_[a-z_]{10,}',
|
||||||
]
|
]
|
||||||
|
regexTarget = "match"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue