feat: Add PyPI Inspector link for remote PyPI scans with issues#730
Open
xxiaoxiong wants to merge 1 commit into
Open
feat: Add PyPI Inspector link for remote PyPI scans with issues#730xxiaoxiong wants to merge 1 commit into
xxiaoxiong wants to merge 1 commit into
Conversation
当扫描远程 PyPI 包并发现问题时,在输出中显示 PyPI Inspector 链接。 修改内容: - cli.py: 为远程扫描添加 is_remote、ecosystem 和 scanned_version 标记 - human_readable.py: 在有问题时显示 PyPI Inspector 链接 - test_human_readable.py: 添加 5 个测试用例验证功能 Fixes DataDog#67
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR implements the feature requested in #67.
When scanning a remote PyPI package and issues are found, GuardDog now displays a link to PyPI Inspector for easier investigation.
Changes
is_remote,ecosystem, andscanned_versionfields to scan results for remote scansExample Output
Testing
All new tests pass. The implementation follows the existing code style and patterns.
Fixes #67