tests/test-check-format.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 07 Apr 2021 13:31:15 +0200
changeset 46873 0abf5eba0042
parent 46870 41d43d12c2c4
permissions -rw-r--r--
rhg: make rhg recognise it supports zstd compression for revlogs It already did, but was not aware of it. Differential Revision: https://phab.mercurial-scm.org/D10324

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