tests/test-check-format.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 15 Apr 2021 11:50:08 +0200
changeset 47032 6ce1af5f0764
parent 46870 41d43d12c2c4
child 51919 ceaf92d6d380
permissions -rw-r--r--
template: use `list_paths` in `peerurls` Using common code will make it simpler to update the logic behind the path definition and storage. Differential Revision: https://phab.mercurial-scm.org/D10442

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