title: How to format this code so that flake8 is happy?
body: <p>This code was created by <a href="https://github.com/psf/black" rel="noreferrer">black</a>:</p>
  <pre><code>def test_schema_org_script_from_list():
      assert (
          schema_org_script_from_list([1, 2])
          == '&lt;script type=&quot;application/ld+json&quot;&gt;1&lt;/script&gt;\n&lt;script type=&quot;application/ld+json&quot;&gt;2&lt;/script&gt;'
      )
  </code></pre>
  <p>But now flake8 complains:</p>
  <blockquote>
  <p>tests/test_utils.py:59:9: W503 line break before binary operator</p>
  <p>tests/test_utils.py:59:101: E501 line too long (105 &gt; 100 characters)</p>
  </blockquote>
  <p>How can I format above lines and make flake8 happy?</p>
  <p>I use this <code>.pre-commit-config.yaml</code></p>
  <pre><code># See https://pre-commit.com for more information
  # See https://pre-commit.com/hooks.html for more hooks
  repos:
    - repo: 'https://github.com/pre-commit/pre-commit-hooks'
      rev: v3.2.0
      hooks:
        - id: trailing-whitespace
        - id: end-of-file-fixer
        - id: check-yaml
        - id: check-added-large-files
    - repo: 'https://gitlab.com/pycqa/flake8'
      rev: 3.8.4
      hooks:
        - id: flake8
    - repo: 'https://github.com/pre-commit/mirrors-isort'
      rev: v5.7.0
      hooks:
        - id: isort
  </code></pre>
  <p>tox.ini:</p>
  <pre><code>[flake8]
  max-line-length = 100
  exclude = .git,*/migrations/*,node_modules,migrate
  # W504 line break after binary operator
  ignore = W504
  </code></pre>
  <p>(I think it is a bit strange that flake8 reads config from a file which belongs to a different tool).</p>