tests/test-check-format.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 30 Sep 2021 15:28:42 +0200
changeset 48094 3fe500d15e7c
parent 46870 41d43d12c2c4
child 51919 ceaf92d6d380
permissions -rw-r--r--
dirstate-item: use `tracked` instead of the `state` in context's iter Differential Revision: https://phab.mercurial-scm.org/D11531

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