view tests/test-check-format.t @ 48301:9327ece2bc6f

relnotes: add 6.0 release notes Differential Revision: https://phab.mercurial-scm.org/D11736
author Raphaël Gomès <rgomes@octobus.net>
date Thu, 04 Nov 2021 12:34:51 +0100
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/**'`