tests/test-check-format.t
author Cédric Krier <ced@b2ck.com>
Thu, 26 Jan 2023 00:23:07 +0100
changeset 49956 2282d8ac0fa9
parent 46870 41d43d12c2c4
child 51919 ceaf92d6d380
permissions -rw-r--r--
filemerge: add union-other-first as internal merge tool See inline documentation for details.

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