view tests/test-check-format.t @ 43347:abb95b6f79d3 stable

formatting: using black to check for formatting
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 29 Oct 2019 10:43:47 +0100
parents b21e3a747501
children daa3b58906d5
line wrap: on
line source

#require black

  $ cd $RUNTESTDIR/..
  $ black --config=black.toml --check --diff `hg files 'set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**" - contrib/grey.py'`