Mercurial > hg
annotate tests/test-check-format.t @ 43348:daa3b58906d5 stable
formatting: drop `grey`, our custom black version
Now that the official black has all we want, we can drop this.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 29 Oct 2019 11:07:25 +0100 |
parents | abb95b6f79d3 |
children | 2247bf3cec76 |
rev | line source |
---|---|
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 |