Mercurial > hg
view tests/test-check-format.t @ 47498:9d929f9cb9b4
run-tests: avoid an early return
To fix the "python3 pointing to python2" we will also need to create a "python"
pointer. So we will need to create multiple pointer. So we need to stop using
early return.
We replace the early return with a loop and a continue, since the next
changeset will introduce that loop anyway.
Differential Revision: https://phab.mercurial-scm.org/D10942
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 02 Jul 2021 22:58:04 +0200 |
parents | 41d43d12c2c4 |
children | ceaf92d6d380 |
line wrap: on
line source
#require black test-repo Black needs the real USERPROFILE in order to run on Windows #if msys $ USERPROFILE="$REALUSERPROFILE" $ export USERPROFILE #endif $ cd $RUNTESTDIR/.. $ black --check --diff `hg files 'set:(**.py + grep("^#!.*python")) - mercurial/thirdparty/**'`