view tests/test-check-format.t @ 47414:5fbac82a8780

revlog: byteify a few error strings Differential Revision: https://phab.mercurial-scm.org/D10875
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 12 Jun 2021 00:51:34 -0400
parents 41d43d12c2c4
children
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/**'`