Skip to content

Conversation

@jerrdasur
Copy link

@jerrdasur jerrdasur commented Oct 6, 2025

Required line awlays goes second in code snippet. We can use this knowledge for simple and correct snippet generation in bandit.formatters.sarif.add_region_and_context_region.

Resolves: #1311

Required line awlays goes second in code snippet. We can use this knowledge for simple and correct snippet generation in bandit.formatters.sarif.add_region_and_context_region.

Resolves: PyCQA#1311
Copy link
Member

@ericwb ericwb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you provide the file that caused the error? Or better yet, expand the tests to test this scenario.

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.

Sarif formatter physicalLocation calculation error

2 participants