From edee3f64b98cb18e94b4e200a581257c3c657f0b Mon Sep 17 00:00:00 2001 From: Mike Cooper Date: Fri, 10 Apr 2015 10:55:33 -0700 Subject: [PATCH] Add q as a debug statement q is a debugging tool: https://pypi.python.org/pypi/q --- pre_commit_hooks/debug_statement_hook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pre_commit_hooks/debug_statement_hook.py b/pre_commit_hooks/debug_statement_hook.py index 432a3f0..8e02480 100644 --- a/pre_commit_hooks/debug_statement_hook.py +++ b/pre_commit_hooks/debug_statement_hook.py @@ -7,7 +7,7 @@ import collections import traceback -DEBUG_STATEMENTS = set(['pdb', 'ipdb', 'pudb']) +DEBUG_STATEMENTS = set(['pdb', 'ipdb', 'pudb', 'q']) DebugStatement = collections.namedtuple(