# HG changeset patch # User Augie Fackler # Date 1571072089 14400 # Node ID 2a201b366d5b1aebcf11e1adcbb12ec81052a903 # Parent 15c05732d1777619a306ecda59c9ba27c1c1bd42 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 diff -r 15c05732d177 -r 2a201b366d5b black.toml --- a/black.toml Mon Oct 14 12:52:33 2019 -0400 +++ b/black.toml Mon Oct 14 12:54:49 2019 -0400 @@ -1,5 +1,16 @@ [tool.black] line-length = 80 -exclude = 'build/|wheelhouse/|dist/|packages/|\.hg/|\.mypy_cache/|\.venv/|mercurial/thirdparty/|hgext/fsmonitor/pywatchman/|contrib/python-zstandard/' +exclude = ''' +build/ +| wheelhouse/ +| dist/ +| packages/ +| \.hg/ +| \.mypy_cache/ +| \.venv/ +| mercurial/thirdparty/ +| hgext/fsmonitor/pywatchman/ +| contrib/python-zstandard/ +''' skip-string-normalization = true quiet = true