From patchwork Thu Aug 24 14:33:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2,of,9] contrib: allow symbol imports from hgclient for tests From: Augie Fackler X-Patchwork-Id: 23295 Message-Id: <4954e118c22f530c2cc9.1503585203@imladris.local> To: mercurial-devel@mercurial-scm.org Date: Thu, 24 Aug 2017 10:33:23 -0400 # HG changeset patch # User Augie Fackler # Date 1503426306 14400 # Tue Aug 22 14:25:06 2017 -0400 # Node ID 4954e118c22f530c2cc91cb7900f003b5d920ddd # Parent ee1f4dd1c3a53cd08e5329b80ba5d93811ab5d1c contrib: allow symbol imports from hgclient for tests diff --git a/contrib/import-checker.py b/contrib/import-checker.py --- a/contrib/import-checker.py +++ b/contrib/import-checker.py @@ -21,6 +21,7 @@ if True: # disable lexical sorting check # Whitelist of modules that symbols can be directly imported from. allowsymbolimports = ( '__future__', + 'hgclient', 'mercurial', 'mercurial.hgweb.common', 'mercurial.hgweb.request',