view tests/test-check-format.t @ 50665:95fe6e70cab5 stable

Added signature for changeset da372c745e0f
author Raphaël Gomès <rgomes@octobus.net>
date Thu, 08 Jun 2023 17:02:04 +0200
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/**'`