Mercurial > hg
changeset 43966:f91834ecfdfd
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
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 27 Dec 2019 02:05:01 -0500 |
parents | 8a81fa44f7bb |
children | 6c201f0d17b1 |
files | hgext/narrow/__init__.py |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/narrow/__init__.py Thu Dec 26 18:26:06 2019 -0500 +++ b/hgext/narrow/__init__.py Fri Dec 27 02:05:01 2019 -0500 @@ -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