Skip to content

Commit 28ee726

Browse files
authored
Merge pull request #508 from nielsing/add_excluded_lockfiles
Add Cargo.lock & poetry.lock to list of excluded lockfiles
2 parents ed80bb8 + 38c938e commit 28ee726

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

detect_secrets/filters/heuristic.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ def is_lock_file(filename: str) -> bool:
197197
'Podfile.lock',
198198
'yarn.lock',
199199
'Pipfile.lock',
200+
'poetry.lock',
201+
'Cargo.lock',
200202
}
201203

202204

0 commit comments

Comments
 (0)