tests/test-check-format.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 14 Apr 2021 20:32:53 +0200
changeset 46973 92029a43debb
parent 46870 41d43d12c2c4
permissions -rw-r--r--
perf-discovery: use `get_unique_pull_path` This performance command now use the new API, unless the benchmarked Mercurial is older. Differential Revision: https://phab.mercurial-scm.org/D10423

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