tests/test-check-format.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Mon, 15 May 2023 09:00:46 +0200
changeset 50487 92611344aec2
parent 46870 41d43d12c2c4
permissions -rw-r--r--
store: use StoreEntry API instead of parsing filename when listing manifestlog This is more explicit and more robust.

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