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

debug-statements: Add "pydevd_pycharm" to list of debug statements #502

Conversation

jgeerds
Copy link
Contributor

@jgeerds jgeerds commented Jul 1, 2020

This commit adds support for pydevd_pycharm debug statements in the debug-statements-Hook. I've also sorted the list in alphabetically order as it grows over time (see 43bfa05 for example).

Tested locally on my machine:

❯ pre-commit run debug-statements -a
Debug Statements (Python)................................................Failed
- hook id: debug-statements
- exit code: 1

my_python_file.py:221:12 - pydevd_pycharm imported

Copy link
Member

@asottile asottile left a comment

Choose a reason for hiding this comment

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

@asottile asottile merged commit 5372f44 into pre-commit:master Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants