tests/test-check-format.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Tue, 01 Dec 2020 20:24:38 +0100
changeset 46055 72b7b4bf3e65
parent 45208 f62bb5d07848
child 46454 d4c8b4b90ecb
permissions -rw-r--r--
upgrade: extract the checking of target requirements change This logic is fairly independant, lets move it out of the main function. Differential Revision: https://phab.mercurial-scm.org/D9485

#require black test-repo

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