Mercurial > public > mercurial-scm > hg-stable
comparison contrib/check-code.py @ 35447:a8478b808f17
check-code: remove unused variable 'winglobmsg'
Follows up 5feb782c7a95.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 14 Dec 2017 22:26:46 +0900 |
parents | 5feb782c7a95 |
children | 991e4404e910 |
comparison
equal
deleted
inserted
replaced
35446:56745e58df07 | 35447:a8478b808f17 |
---|---|
164 testfilters = [ | 164 testfilters = [ |
165 (r"( *)(#([^!][^\n]*\S)?)", repcomment), | 165 (r"( *)(#([^!][^\n]*\S)?)", repcomment), |
166 (r"<<(\S+)((.|\n)*?\n\1)", rephere), | 166 (r"<<(\S+)((.|\n)*?\n\1)", rephere), |
167 ] | 167 ] |
168 | 168 |
169 winglobmsg = "use (glob) to match Windows paths too" | |
170 uprefix = r"^ \$ " | 169 uprefix = r"^ \$ " |
171 utestpats = [ | 170 utestpats = [ |
172 [ | 171 [ |
173 (r'^(\S.*|| [$>] \S.*)[ \t]\n', "trailing whitespace on non-output"), | 172 (r'^(\S.*|| [$>] \S.*)[ \t]\n', "trailing whitespace on non-output"), |
174 (uprefix + r'.*\|\s*sed[^|>\n]*\n', | 173 (uprefix + r'.*\|\s*sed[^|>\n]*\n', |