Skip to content
Snippets Groups Projects
Commit f91834ec authored by Matt Harbison's avatar Matt Harbison
Browse files

narrow: move `testedwith` after module imports

PyCharm flagged this as a PEP 8 violation, for module level imports not being at
the top of the file.

Differential Revision: https://phab.mercurial-scm.org/D7734
parent 8a81fa44
No related branches found
No related tags found
No related merge requests found
......@@ -8,12 +8,6 @@
from __future__ import absolute_import
# Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
# be specifying the version(s) of Mercurial they are tested with, or
# leave the attribute unspecified.
testedwith = b'ships-with-hg-core'
from mercurial import (
localrepo,
registrar,
......@@ -29,6 +23,12 @@
narrowwirepeer,
)
# Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
# be specifying the version(s) of Mercurial they are tested with, or
# leave the attribute unspecified.
testedwith = b'ships-with-hg-core'
configtable = {}
configitem = registrar.configitem(configtable)
# Narrowhg *has* support for serving ellipsis nodes (which are used at
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment