tests/test-check-format.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 28 Jan 2022 11:35:41 +0100
changeset 48765 d5121df04808
parent 46870 41d43d12c2c4
permissions -rw-r--r--
rank: add context and template keyword This makes the stored rank property accessible, to be expanded and printed. Differential Revision: https://phab.mercurial-scm.org/D12140

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