tests/test-check-format.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Mon, 19 Jul 2021 00:29:36 +0200
changeset 47719 1168e54b727c
parent 46870 41d43d12c2c4
child 51919 ceaf92d6d380
permissions -rw-r--r--
dirstate: deprecate the `normal` method in all cases All code have been migrated to the new APIs. Differential Revision: https://phab.mercurial-scm.org/D11161

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