view tests/test-check-format.t @ 48532:7ccd31fda132 stable

docs: add documentation about Rust This makes the features more discoverable for users. Differential Revision: https://phab.mercurial-scm.org/D11808
author Raphaël Gomès <rgomes@octobus.net>
date Fri, 26 Nov 2021 14:28:27 +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/**'`