tests/test-check-format.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 01 Jun 2022 03:12:23 +0200
changeset 49268 7b0cf4517d82
parent 46870 41d43d12c2c4
child 51919 ceaf92d6d380
permissions -rw-r--r--
mr-template: drop the "title and description" I though I would affect the template in the menu itself, however it just a normal piece of text that should not be here.

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