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