view tests/test-check-format.t @ 45010:c63a297fb964

graft: leverage cmdutil.check_incompatible_arguments() for --no-commit Differential Revision: https://phab.mercurial-scm.org/D8668
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 25 Jun 2020 13:29:05 -0700
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/**'`