# HG changeset patch # User Augie Fackler # Date 2019-10-14 16:54:49 # 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 --git a/black.toml b/black.toml --- a/black.toml +++ b/black.toml @@ -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