view black.toml @ 43321:a2ff3aff81d2 stable

py3: use %d instead of %s when formatting an int into a bytestring The latter wasn't noticed before since no tests exercise --confirm at all, let alone on an existing DREV. The former is only hit during an intermittent network issue during amending at the end of a phabsend, so doesn't seem testable. Differential Revision: https://phab.mercurial-scm.org/D7153
author Ian Moody <moz-ian@perix.co.uk>
date Wed, 23 Oct 2019 23:00:58 +0100
parents 8343070ed758
children daa3b58906d5
line wrap: on
line source

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