diff -r 01a75c9d5b5e -r f1a3ae7c15df contrib/check-code.py --- a/contrib/check-code.py Tue Feb 18 14:48:56 2014 -0800 +++ b/contrib/check-code.py Wed Feb 19 13:25:28 2014 +0100 @@ -311,6 +311,7 @@ txtpats = [ [ ('\s$', 'trailing whitespace'), + ('.. note::[ \n][^\n]', 'add two newlines after note::') ], [] ]