mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
check-code: warn about untranslated ui.warn calls
This commit is contained in:
parent
b68a37ac34
commit
71971a8928
@ -108,7 +108,7 @@ pypats = [
|
||||
(r'[^+=*!<>&| -](\s=|=\s)[^= ]',
|
||||
"wrong whitespace around ="),
|
||||
(r'raise Exception', "don't raise generic exceptions"),
|
||||
(r'ui\.(status|progress|write|note)\([\'\"]x',
|
||||
(r'ui\.(status|progress|write|note|warn)\([\'\"]x',
|
||||
"warning: unwrapped ui message"),
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user