##// END OF EJS Templates
check-code: add check for lock release order
Matt Mackall -
r19031:341083b0 default
parent child Browse files
Show More
@@ -224,6 +224,7 pypats = [
224 (r':\n( )*( ){1,3}[^ ]', "must indent 4 spaces"),
224 (r':\n( )*( ){1,3}[^ ]', "must indent 4 spaces"),
225 (r'ui\.(status|progress|write|note|warn)\([\'\"]x',
225 (r'ui\.(status|progress|write|note|warn)\([\'\"]x',
226 "missing _() in ui message (use () to hide false-positives)"),
226 "missing _() in ui message (use () to hide false-positives)"),
227 (r'release\(.*wlock, .*lock\)', "wrong lock release order"),
227 ],
228 ],
228 # warnings
229 # warnings
229 [
230 [
General Comments 0
You need to be logged in to leave comments. Login now