black.toml
author Augie Fackler <augie@google.com>
Thu, 14 Nov 2019 13:38:17 -0500
changeset 43654 c5548b0b6847
parent 43386 2247bf3cec76
child 44147 5e84a96d865b
permissions -rw-r--r--
scmutil: convert status data object from a tuple to an attrs (API) We've been pushing towards the property names for a while, and the subclassing of the tuple confuses pytype. Rather than bend over backwards to try and annotate the tuple subclass, let's just use attrs here. Differential Revision: https://phab.mercurial-scm.org/D7406

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