view tests/test-check-format.t @ 47298:e96f75857361

updatecaches: use the caches argument in `hg debugupdatecaches` This is the new way. Differential Revision: https://phab.mercurial-scm.org/D10729
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 17 May 2021 15:27:29 +0200
parents 41d43d12c2c4
children ceaf92d6d380
line wrap: on
line source

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