tests/test-check-format.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 14 Apr 2021 21:11:39 +0200
changeset 46959 9e021cffb356
parent 46870 41d43d12c2c4
permissions -rw-r--r--
debugdiscovery: use `get_unique_pull_path` Lets move this code to the new API. Differential Revision: https://phab.mercurial-scm.org/D10426

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