comparison tests/test-check-py3-compat.t @ 43083:7054fd370430

contrib: add a fork of black (as "grey") that includes my changes This is black with https://github.com/psf/black/pull/826 applied as of today. The current git hash of black master is d9e71a75ccfefa3d9156a64c03313a0d4ad981e5, and the hash of my commit is dc1add6e94e212eff37bb3619e1422fb3c6d8dc8. In order to use this, you need to install `black` (from github master) and `typed-ast` using pip, preferably into python3, and then you can run `grey.py` with that Python and you'll have my patched version of black, which is how we've been formatting the codebase. Once my PR is merged, I'll follow up by removing this fork and updating instructions in the example config. # no-check-commit bad style Differential Revision: https://phab.mercurial-scm.org/D7002
author Augie Fackler <augie@google.com>
date Sun, 06 Oct 2019 14:13:03 -0700
parents 675775c33ab6
children daa3b58906d5
comparison
equal deleted inserted replaced
43082:fdfe5cfb3723 43083:7054fd370430
4 $ cd "$TESTDIR"/.. 4 $ cd "$TESTDIR"/..
5 5
6 #if no-py3 6 #if no-py3
7 $ testrepohg files 'set:(**.py)' \ 7 $ testrepohg files 'set:(**.py)' \
8 > -X contrib/automation/ \ 8 > -X contrib/automation/ \
9 > -X contrib/grey.py \
9 > -X contrib/packaging/hgpackaging/ \ 10 > -X contrib/packaging/hgpackaging/ \
10 > -X contrib/packaging/inno/ \ 11 > -X contrib/packaging/inno/ \
11 > -X contrib/packaging/wix/ \ 12 > -X contrib/packaging/wix/ \
12 > -X hgdemandimport/demandimportpy2.py \ 13 > -X hgdemandimport/demandimportpy2.py \
13 > -X mercurial/thirdparty/cbor \ 14 > -X mercurial/thirdparty/cbor \