view tests/test-check-format.t @ 48122:bbd924a36a6e

dirstatemap: move a multiple simple functions in the common class These are small and simple, lets factor them out. Differential Revision: https://phab.mercurial-scm.org/D11567
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 02 Oct 2021 12:01:50 +0200
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/**'`