view tests/test-check-format.t @ 48572:fe4922564661

blackbox: correct date format doc Differential Revision: https://phab.mercurial-scm.org/D12004
author Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
date Mon, 17 Jan 2022 20:47:46 -0500
parents 41d43d12c2c4
children ceaf92d6d380
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/**'`