Skip to content

Commit 5372f44

Browse files
authored
Merge pull request #502 from jgeerds/feature/catch-pydevd-pycharm-debug-statement
debug-statements: Add "pydevd_pycharm" to list of debug statements
2 parents f7dd0c0 + 53a05b9 commit 5372f44

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

pre_commit_hooks/debug_statement_hook.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,16 @@
77
from typing import Sequence
88

99

10-
DEBUG_STATEMENTS = {'pdb', 'ipdb', 'pudb', 'q', 'rdb', 'rpdb', 'wdb'}
10+
DEBUG_STATEMENTS = {
11+
'ipdb',
12+
'pdb',
13+
'pudb',
14+
'pydevd_pycharm',
15+
'q',
16+
'rdb',
17+
'rpdb',
18+
'wdb',
19+
}
1120

1221

1322
class Debug(NamedTuple):

0 commit comments

Comments
 (0)