tests/test-check-format.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 27 Aug 2020 09:06:35 +0200
branchstable
changeset 45389 f62bb5d07848
parent 44147 5e84a96d865b
child 46382 d4c8b4b90ecb
permissions -rw-r--r--
test: add `test-repo` requirement to `test-check-format` (issue6395) Kindly reported by Tristan Seligmann <mithrandi@mithrandi.net>

#require black test-repo

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