black.toml
author Yuya Nishihara <yuya@tcha.org>
Sun, 13 Sep 2020 15:59:23 +0900
branchstable
changeset 45503 bd5b2b29b82d
parent 44147 5e84a96d865b
permissions -rw-r--r--
py3: fix formatting of LookupError for workingctx Spotted while writing broken tests for "hg grep -fr'wdir()'". basectx._fileinfo() raises ManifestLookupError(self._node, ..), but _node of the workingctx is None for historical reasons.

[tool.black]
line-length = 80
exclude = '''
build/
| wheelhouse/
| dist/
| packages/
| \.hg/
| \.mypy_cache/
| \.venv/
| mercurial/thirdparty/
'''
skip-string-normalization = true
quiet = true