title: Is it possible to run isort formatter from black command in python
body: <p>I like to get inspiration from well designed python projects.</p>
  <p>The last one that inspired me was the <a href="https://github.com/python-poetry/poetry" rel="nofollow noreferrer">poetry repository</a>.</p>
  <p>I copied a lot from that, but the subject of this post are <a href="https://black.readthedocs.io/en/stable/" rel="nofollow noreferrer">black</a> and <a href="https://pycqa.github.io/isort/" rel="nofollow noreferrer">isort</a>.</p>
  <p>Both are well configured in <code>pyproject.toml</code>:</p>
  <pre><code>[tool.isort]
  profile = &quot;black&quot;
  ...
  known_first_party = &quot;poetry&quot;
  
  
  [tool.black]
  line-length = 88
  include = '\.pyi?$'
  exclude = '''
  /(
  ...
  )/
  '''
  </code></pre>
  <p>and formatting is configured in the <code>Makefile</code>as:</p>
  <pre><code>format: clean
      @poetry run black poetry/ tests/
  </code></pre>
  <p>I thought that running <code>make format</code> would run <code>black</code>which would internally run <code>isort</code>, but when I ran <code>isort .</code>, it correctly formated the import statements afterwards. It then seems <code>black</code> did not run <code>isort</code>.</p>
  <p>Question: <strong>does <code>black</code> run <code>isort</code> internally?</strong></p>