Mercurial > hg
annotate tests/test-check-format.t @ 43636:9c1eccdd7ed8
branchmap: annotate constructor type for branchcache
This type signature is...big. But it's correct as far as I can tell,
and it detected a bug.
Differential Revision: https://phab.mercurial-scm.org/D7389
author | Augie Fackler <augie@google.com> |
---|---|
date | Thu, 14 Nov 2019 13:13:36 -0500 |
parents | 2247bf3cec76 |
children | 2d8d4e08c493 |
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/.. |
43386
2247bf3cec76
fsmonitor: remove pywatchman from exclusion rule
Gregory Szorc <gregory.szorc@gmail.com>
parents:
43348
diff
changeset
|
4 $ black --config=black.toml --check --diff `hg files 'set:**.py - 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 |