view tests/test-check-format.t @ 49754:ec30fe6917ec

peer: build a `path` object on the fly when needed So now, we always have a `path` object around when building the peer
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 02 Dec 2022 17:41:44 +0100
parents 41d43d12c2c4
children ceaf92d6d380
line wrap: on
line source

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