black.toml
author Gregory Szorc <gregory.szorc@gmail.com>
Thu, 14 Nov 2019 20:35:11 -0800
changeset 43659 99e231afc29c
parent 43386 2247bf3cec76
child 44147 5e84a96d865b
permissions -rw-r--r--
black: blacken scripts test-check-format.t doesn't appear to detect Python scripts with shebangs. But my editor which is configured to auto run black on Python files does and it appears some files are not blackened. This commit blackens scripts that need it. # skip-blame reformatting Differential Revision: https://phab.mercurial-scm.org/D7420

[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