tests/test-check-format.t
author Matt Harbison <matt_harbison@yahoo.com>
Fri, 11 Jun 2021 23:51:27 -0400
changeset 47417 515014d72aa2
parent 46870 41d43d12c2c4
permissions -rw-r--r--
urlutil: byteify several localized messages Flagged by pytype. Differential Revision: https://phab.mercurial-scm.org/D10872

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