-
Notifications
You must be signed in to change notification settings - Fork 0
chore(gitleaks): update allowlist to ignore venv #65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,9 +10,6 @@ coverage/ | |
|
|
||
| .DS_Store | ||
|
|
||
| # Documentation build | ||
| .docs/ | ||
| site/ | ||
|
|
||
| *.egg-info | ||
| dist/ | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -7,7 +7,8 @@ useDefault = true | |||||||
| [allowlist] | ||||||||
| description = "Global allowlist" | ||||||||
| paths = [ | ||||||||
| '''\.lock$''', | ||||||||
| '''\.snap$''', | ||||||||
| '''uv\.lock$''', | ||||||||
| '''venv/''', | ||||||||
| '''\.venv/''', | ||||||||
| '''\.ruff_cache/''', | ||||||||
| ] | ||||||||
|
Comment on lines
+13
to
14
|
||||||||
| '''\.ruff_cache/''', | |
| ] | |
| ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The .gitignore file already contains
.venv(line 3), which will only ignore that specific directory name at the repository root. However, the gitleaks allowlist pattern\.venv/uses a regex that will match.venv/anywhere in the path. Additionally,venv/in the gitleaks allowlist will matchvenv/directories but there's no corresponding entry in.gitignoreto prevent these directories from being committed. Consider addingvenv/to.gitignoreto maintain consistency between what gitleaks ignores and what git ignores.