tests/test-check-format.t
author Simon Sapin <simon.sapin@octobus.net>
Fri, 10 Dec 2021 14:27:00 +0100
changeset 48490 4a983b69e519
parent 46870 41d43d12c2c4
permissions -rw-r--r--
rhg: Add support for ui.ignore and ui.ignore.* config This fixes some but not all failures in `tests/test-hgignore.t` when running with `rhg status` enabled. Differential Revision: https://phab.mercurial-scm.org/D11907

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