equal
deleted
inserted
replaced
106 (r'\s(\+=|-=|!=|<>|<=|>=|<<=|>>=)\S', |
106 (r'\s(\+=|-=|!=|<>|<=|>=|<<=|>>=)\S', |
107 "missing whitespace around operator"), |
107 "missing whitespace around operator"), |
108 (r'[^+=*!<>&| -](\s=|=\s)[^= ]', |
108 (r'[^+=*!<>&| -](\s=|=\s)[^= ]', |
109 "wrong whitespace around ="), |
109 "wrong whitespace around ="), |
110 (r'raise Exception', "don't raise generic exceptions"), |
110 (r'raise Exception', "don't raise generic exceptions"), |
111 (r'ui\.(status|progress|write|note)\([\'\"]x', |
111 (r'ui\.(status|progress|write|note|warn)\([\'\"]x', |
112 "warning: unwrapped ui message"), |
112 "warning: unwrapped ui message"), |
113 ] |
113 ] |
114 |
114 |
115 pyfilters = [ |
115 pyfilters = [ |
116 (r"""(?msx)(?P<comment>\#.*?$)| |
116 (r"""(?msx)(?P<comment>\#.*?$)| |