Mercurial > hg
comparison hgext/pager.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 | 687b865b95ad |
children | 6000f5b25c9b |
comparison
equal
deleted
inserted
replaced
45941:346af7687c6f | 45942:89a2afe31e82 |
---|---|
39 | 39 |
40 configtable = {} | 40 configtable = {} |
41 configitem = registrar.configitem(configtable) | 41 configitem = registrar.configitem(configtable) |
42 | 42 |
43 configitem( | 43 configitem( |
44 b'pager', b'attend', default=lambda: attended, | 44 b'pager', |
45 b'attend', | |
46 default=lambda: attended, | |
45 ) | 47 ) |
46 | 48 |
47 | 49 |
48 def uisetup(ui): | 50 def uisetup(ui): |
49 def pagecmd(orig, ui, options, cmd, cmdfunc): | 51 def pagecmd(orig, ui, options, cmd, cmdfunc): |