black.toml
author Augie Fackler <augie@google.com>
Mon, 14 Oct 2019 12:54:49 -0400
changeset 43224 2a201b366d5b
parent 43223 15c05732d177
child 43225 8343070ed758
permissions -rw-r--r--
black: use multiline exclude definition Our excludes list is pretty complicated, so let's give ourselves some readability. Black treats multiline exclude definitions as verbse regular expressions, so we can split this up and make it easier to consume. Differential Revision: https://phab.mercurial-scm.org/D7089

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