Skip to content

Comments

chore(ci): add requirements.txt and pre-commit hook for Snyk support#205

Open
fyzanshaik-atlan wants to merge 2 commits intomainfrom
chore/mcp-requirements-file
Open

chore(ci): add requirements.txt and pre-commit hook for Snyk support#205
fyzanshaik-atlan wants to merge 2 commits intomainfrom
chore/mcp-requirements-file

Conversation

@fyzanshaik-atlan
Copy link
Contributor

Summary

This PR adds requirements.txt and a pre-commit hook to support Snyk GitHub App integration.

Changes

  • Added modelcontextprotocol/requirements.txt

    • Auto-generated from uv.lock using uv export
    • Required for Snyk GitHub App to detect Python dependencies
  • Updated .pre-commit-config.yaml

    • Added local hook to automatically sync requirements.txt when uv.lock or pyproject.toml changes
    • Ensures requirements.txt stays in sync with uv.lock

Notes

  • requirements.txt should not be manually edited
  • Run uv export --all-extras --no-hashes > requirements.txt to update
  • The pre-commit hook will block commits if requirements.txt is out of sync

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.

1 participant