view tests/test-check-format.t @ 44673:0a2516efc463

rust-chg: move set_current_dir() to Locator This is necessary to run config validation in proper environment. Differential Revision: https://phab.mercurial-scm.org/D8362
author Yuya Nishihara <yuya@tcha.org>
date Sun, 07 Oct 2018 10:23:57 +0900
parents 5e84a96d865b
children f62bb5d07848
line wrap: on
line source

#require black

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