comparison hgext/convert/bzr.py @ 45942:89a2afe31e82

formating: upgrade to black 20.8b1 This required a couple of small tweaks to un-confuse black, but now it works. Big formatting changes come from: * Dramatically improved collection-splitting logic upstream * Black having a strong (correct IMO) opinion that """ is better than ''' Differential Revision: https://phab.mercurial-scm.org/D9430
author Augie Fackler <raf@durin42.com>
date Fri, 27 Nov 2020 17:03:29 -0500
parents 649d3ac37a12
children 26127236b229
comparison
equal deleted inserted replaced
45941:346af7687c6f 45942:89a2afe31e82
19 ) 19 )
20 from . import common 20 from . import common
21 21
22 # these do not work with demandimport, blacklist 22 # these do not work with demandimport, blacklist
23 demandimport.IGNORES.update( 23 demandimport.IGNORES.update(
24 [b'bzrlib.transactions', b'bzrlib.urlutils', b'ElementPath',] 24 [
25 b'bzrlib.transactions',
26 b'bzrlib.urlutils',
27 b'ElementPath',
28 ]
25 ) 29 )
26 30
27 try: 31 try:
28 # bazaar imports 32 # bazaar imports
29 import bzrlib.bzrdir 33 import bzrlib.bzrdir