Skip to content

chore: exclude test code from Snyk scans - #861

Merged
nealrichardson merged 1 commit into
mainfrom
snyk-exclude-tests
Oct 13, 2026
Merged

nealrichardson merged 1 commit into
mainfrom
snyk-exclude-tests

Conversation

@nealrichardson

Copy link
Copy Markdown
Contributor

Snyk Code is reporting vulnerabilities in test code. These findings are noise: the code under tests/ (including the sample apps in tests/testdata/) never ships in the package.

This adds a .snyk policy file that excludes tests/** and the root conftest.py from Snyk scans. The GitHub integration reads the file from the default branch, so the exclusions take effect on the next retest after merge.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-10-13 22:02 UTC

@github-actions

Copy link
Copy Markdown

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
8956 7732 86% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 26fbe4b by action🐍

@nealrichardson
nealrichardson merged commit 4b6669b into main Oct 13, 2026
31 of 49 checks passed
@nealrichardson
nealrichardson deleted the snyk-exclude-tests branch October 13, 2026 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants