tests/test-check-format.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 01 Dec 2022 01:57:14 +0100
changeset 49820 0df2cff04291
parent 46870 41d43d12c2c4
child 51955 ceaf92d6d380
permissions -rw-r--r--
path: pass `path` to `peer` in `hg bundle` We directly use the `path` object to build the `peer` object.

#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/**'`