tests/test-check-format.t
author Manuel Jacob <me@manueljacob.de>
Mon, 06 Jul 2020 17:44:25 +0200
changeset 45055 4c1b4805db57
parent 44147 5e84a96d865b
child 45389 f62bb5d07848
permissions -rw-r--r--
pycompat: change users of pycompat.{stdin,stdout,stderr} to use procutil.std* On Python 3, pycompat.{stdin,stdout,stderr} are usually block-buffered even if connected to a TTY. procutil.{stdin,stdout,stderr} provide consistent behavior across platforms and Python versions.

#require black

  $ cd $RUNTESTDIR/..
  $ black --config=black.toml --check --diff `hg files 'set:(**.py + grep("^#!.*python")) - mercurial/thirdparty/**'`