tests/test-check-format.t
author Pulkit Goyal <7895pulkit@gmail.com>
Thu, 31 Dec 2020 14:10:25 +0530
changeset 46219 481d9aed669c
parent 45208 f62bb5d07848
child 46454 d4c8b4b90ecb
permissions -rw-r--r--
engine: make hook point for extension a public function Well there are no private public functions in Python, but we generally treat functions and variables starting with `_` as private ones. A function which needs to be overrided in extension should be a public one. Differential Revision: https://phab.mercurial-scm.org/D9672

#require black test-repo

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