comparison hgext/hooklib/changeset_published.py @ 45957: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 3c2fae87bd5a
children 6000f5b25c9b
comparison
equal deleted inserted replaced
45956:346af7687c6f 45957:89a2afe31e82
37 37
38 configtable = {} 38 configtable = {}
39 configitem = registrar.configitem(configtable) 39 configitem = registrar.configitem(configtable)
40 40
41 configitem( 41 configitem(
42 b'notify_published', b'domain', default=None, 42 b'notify_published',
43 b'domain',
44 default=None,
43 ) 45 )
44 configitem( 46 configitem(
45 b'notify_published', b'messageidseed', default=None, 47 b'notify_published',
48 b'messageidseed',
49 default=None,
46 ) 50 )
47 configitem( 51 configitem(
48 b'notify_published', 52 b'notify_published',
49 b'template', 53 b'template',
50 default=b'''Subject: changeset published 54 default=b'''Subject: changeset published