black: make codebase compatible with black v21.4b2 and v20.8b1
I don't know what exact version of black made it care about these whitespace differences, but this is the version I got when I just installed it with `pip3 install black`. I'm intentionally not increasing the version of black required, as I don't want to force everyone to upgrade their version of black, and these fixes are backwards compatible with black v20.8b1. If there are more issues in the future and this becomes a maintenance burden I may do so in a future change. Tested with both versions of black (I got the older version via `pip3 install black==20.8b1`) Differential Revision: https://phab.mercurial-scm.org/D10539
Showing
- doc/hgmanpage.py 1 addition, 1 deletiondoc/hgmanpage.py
- hgext/convert/git.py 1 addition, 1 deletionhgext/convert/git.py
- hgext/convert/hg.py 1 addition, 1 deletionhgext/convert/hg.py
- hgext/convert/subversion.py 1 addition, 1 deletionhgext/convert/subversion.py
- hgext/convert/transport.py 1 addition, 1 deletionhgext/convert/transport.py
- hgext/fsmonitor/pywatchman/__init__.py 14 additions, 14 deletionshgext/fsmonitor/pywatchman/__init__.py
- hgext/gpg.py 1 addition, 1 deletionhgext/gpg.py
- hgext/histedit.py 3 additions, 3 deletionshgext/histedit.py
- hgext/remotenames.py 5 additions, 5 deletionshgext/remotenames.py
- mercurial/branchmap.py 7 additions, 7 deletionsmercurial/branchmap.py
- mercurial/bundle2.py 1 addition, 1 deletionmercurial/bundle2.py
- mercurial/cmdutil.py 4 additions, 4 deletionsmercurial/cmdutil.py
- mercurial/commandserver.py 1 addition, 1 deletionmercurial/commandserver.py
- mercurial/crecord.py 1 addition, 1 deletionmercurial/crecord.py
- mercurial/debugcommands.py 1 addition, 1 deletionmercurial/debugcommands.py
- mercurial/mail.py 1 addition, 1 deletionmercurial/mail.py
- mercurial/mergestate.py 2 additions, 2 deletionsmercurial/mergestate.py
- mercurial/revlogutils/nodemap.py 1 addition, 1 deletionmercurial/revlogutils/nodemap.py
- mercurial/scmutil.py 1 addition, 1 deletionmercurial/scmutil.py
- mercurial/state.py 1 addition, 1 deletionmercurial/state.py
Loading
Please register or sign in to comment