Merge pull request #502 from jgeerds/feature/catch-pydevd-pycharm-debug-statement
debug-statements: Add "pydevd_pycharm" to list of debug statements
diff --git a/pre_commit_hooks/debug_statement_hook.py b/pre_commit_hooks/debug_statement_hook.py
index 6d2dc82..794f708 100644
--- a/pre_commit_hooks/debug_statement_hook.py
+++ b/pre_commit_hooks/debug_statement_hook.py
@@ -7,7 +7,16 @@
from typing import Sequence
-DEBUG_STATEMENTS = {'pdb', 'ipdb', 'pudb', 'q', 'rdb', 'rpdb', 'wdb'}
+DEBUG_STATEMENTS = {
+ 'ipdb',
+ 'pdb',
+ 'pudb',
+ 'pydevd_pycharm',
+ 'q',
+ 'rdb',
+ 'rpdb',
+ 'wdb',
+}
class Debug(NamedTuple):