Patchwork D7089: black: use multiline exclude definition

login
register
mail settings
Submitter phabricator
Date Oct. 15, 2019, 3:01 a.m.
Message ID <1ed0920ed64181b0a2bf769a5cbcb959@localhost.localdomain>
Download mbox | patch
Permalink /patch/42343/
State Not Applicable
Headers show

Comments

phabricator - Oct. 15, 2019, 3:01 a.m.
Closed by commit rHG2a201b366d5b: black: use multiline exclude definition (authored by durin42).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7089?vs=17136&id=17162

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7089/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7089

AFFECTED FILES
  black.toml

CHANGE DETAILS




To: durin42, #hg-reviewers, indygreg
Cc: mjpieters, mercurial-devel

Patch

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