view tests/test-check-format.t @ 48928:ceafb0f81250

revlog: remove pycompat.iteritems() Differential Revision: https://phab.mercurial-scm.org/D12333
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 21 Feb 2022 11:12:26 -0700
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/**'`