view tests/test-check-format.t @ 52137:eae3ec345e5e stable 6.8.2

relnotes: add 6.8.2
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 28 Oct 2024 11:39:03 +0100
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/**'`