# HG changeset patch # User Gregory Szorc # Date 2016-02-28 05:14:17 # Node ID 2af0156cebaad4f3afad428f0a341813cb0e9ce0 # Parent 712298942c8290f82d64cc0ea44d834542328ffd check-code: remove redundant import style check We have a dedicated tool that checks for import conventions. Remove a redundant and less powerful check. diff --git a/contrib/check-code.py b/contrib/check-code.py --- a/contrib/check-code.py +++ b/contrib/check-code.py @@ -218,9 +218,6 @@ pypats = [ "tuple parameter unpacking not available in Python 3+"), (r'lambda\s*\(.*,.*\)', "tuple parameter unpacking not available in Python 3+"), - (r'import (.+,[^.]+\.[^.]+|[^.]+\.[^.]+,)', - '2to3 can\'t always rewrite "import qux, foo.bar", ' - 'use "import foo.bar" on its own line instead.'), (r'(?