Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for use of debugpy and ptvsd debug modules (#10177) #10194

Merged

Conversation

jeremy-hiatt
Copy link
Contributor

Summary

This addresses #10177.

Test Plan

I added additional lines to the existing test file for T100.

Comment on lines +112 to +113
| ["debugpy", "breakpoint" | "listen" | "wait_for_client"]
| ["ptvsd", "break_into_debugger" | "wait_for_attach"]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Spot-checked, makes sense to me.

Copy link
Contributor

github-actions bot commented Mar 2, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Copy link
Member

@charliermarsh charliermarsh left a comment

Choose a reason for hiding this comment

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

This is great, thank you!

@charliermarsh charliermarsh added the rule Implementing or modifying a lint rule label Mar 2, 2024
@charliermarsh charliermarsh merged commit c007b17 into astral-sh:main Mar 2, 2024
17 checks passed
nkxxll pushed a commit to nkxxll/ruff that referenced this pull request Mar 10, 2024
astral-sh#10194)

## Summary

This addresses astral-sh#10177.

## Test Plan

I added additional lines to the existing test file for T100.
alexrashed added a commit to localstack/localstack that referenced this pull request Mar 12, 2024
ruff 0.3.1 added linting rules to alert on the usage of debugpy
with astral-sh/ruff#10194.
This commit excludes these lines because it's used for a specific
feature (instead of debugging code leaking into the codebase).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rule Implementing or modifying a lint rule
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants