author | Yuya Nishihara <yuya@tcha.org> |
Wed, 17 Sep 2014 00:28:37 +0900 | |
changeset 22448 | 8afaf7cef35a |
parent 22447 | 2642ce9be6ef |
child 22449 | da05fe01170b |
--- a/contrib/check-code.py Wed Sep 17 00:31:03 2014 +0900 +++ b/contrib/check-code.py Wed Sep 17 00:28:37 2014 +0900 @@ -299,6 +299,7 @@ (r'ui\.(status|progress|write|note|warn)\([\'\"]x', "missing _() in ui message (use () to hide false-positives)"), (r'release\(.*wlock, .*lock\)', "wrong lock release order"), + (r'\b__bool__\b', "__bool__ should be __nonzero__ in Python 2"), ], # warnings [