view tests/test-check-format.t @ 48206:c7690fabce5f

chistedit: move patchcontents() onto state class Differential Revision: https://phab.mercurial-scm.org/D11642
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 12 Oct 2021 08:56:56 -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/**'`