tests/test-check-format.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 02 Dec 2022 05:11:53 +0100
changeset 49837 f632b9e1e047
parent 46870 41d43d12c2c4
permissions -rw-r--r--
path: pass `path` to `peer` in `remote(...)` revset 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/**'`