view tests/test-check-format.t @ 47233:bcafcd779d2e

branching: merge stable into default
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 17 May 2021 15:05:24 +0200
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/**'`