comparison 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
comparison
equal deleted inserted replaced
43346:6ada8a274b9c 43347:abb95b6f79d3
1 #require grey 1 #require black
2
3 (this should use the actual black as soon as possible)
4 2
5 $ cd $RUNTESTDIR/.. 3 $ cd $RUNTESTDIR/..
6 $ python3 contrib/grey.py --config=black.toml --check --diff `hg files 'set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**" - contrib/grey.py'` 4 $ black --config=black.toml --check --diff `hg files 'set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**" - contrib/grey.py'`
7 5