tests/test-check-format.t
author Gregory Szorc <gregory.szorc@gmail.com>
Sat, 16 Nov 2019 11:54:39 -0800
changeset 43692 2d8d4e08c493
parent 43386 2247bf3cec76
child 44147 5e84a96d865b
permissions -rw-r--r--
tests: verify that Python scripts are blackened Scripts are Python too. They should be blackened. (As suggested by Pierre-Yves in D7420.) Differential Revision: https://phab.mercurial-scm.org/D7447

#require black

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