author | Pierre-Yves David <pierre-yves.david@octobus.net> |
Tue, 29 Oct 2019 11:07:25 +0100 | |
branch | stable |
changeset 43348 | daa3b58906d5 |
parent 43347 | abb95b6f79d3 |
child 43386 | 2247bf3cec76 |
permissions | -rw-r--r-- |
43347
abb95b6f79d3
formatting: using black to check for formatting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
43237
diff
changeset
|
1 |
#require black |
43095
fb41ea2ea076
formatting: introduce a `test-check-format-black.t` that enforce formatting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
2 |
|
fb41ea2ea076
formatting: introduce a `test-check-format-black.t` that enforce formatting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
3 |
$ cd $RUNTESTDIR/.. |
43348
daa3b58906d5
formatting: drop `grey`, our custom black version
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
43347
diff
changeset
|
4 |
$ black --config=black.toml --check --diff `hg files 'set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**"'` |
43095
fb41ea2ea076
formatting: introduce a `test-check-format-black.t` that enforce formatting
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
5 |