Skip to content

Enabled flake8-debugger plugin rule for ruff linter#4400

Open
JayeshHire wants to merge 4 commits intoopen-telemetry:mainfrom
JayeshHire:T10-rule
Open

Enabled flake8-debugger plugin rule for ruff linter#4400
JayeshHire wants to merge 4 commits intoopen-telemetry:mainfrom
JayeshHire:T10-rule

Conversation

@JayeshHire
Copy link
Copy Markdown

@JayeshHire JayeshHire commented Apr 7, 2026

Description

This rule checks for debugger calls and imports in the production code. The debugger calls and imports inside the production code may cause unintended behaviour such as leak of sensitive data and hanging of the program. This rule is to force contributors from not pushing debugger calls and imports in the production code.

contributes to opentelemetry-python#4227

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A

uv run ruff check
All checks passed!

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated

@JayeshHire JayeshHire requested a review from a team as a code owner April 7, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant