title: Coverage.py warning: No data was collected. (no-data-collected)
body: <p>I am trying to find the coverage using coverage module for a django project but gets</p>
  <pre><code>Coverage.py warning: No data was collected. (no-data-collected)
  </code></pre>
  <p>My project folder has src and tests folders.</p>
  <p>When I run</p>
  <pre><code>coverage run -m pytest &amp;&amp; coverage report
  </code></pre>
  <p>It produces a report with 100% coverage with the list of files inside the tests folder.
  Whereas when I run</p>
  <pre><code>coverage run --source=src -m pytest &amp;&amp; coverage report
  </code></pre>
  <p>it says</p>
  <pre><code>Coverage.py warning: No data was collected. (no-data-collected)
  No data to report.
  </code></pre>
  <p>When I try to give the <code>source=src</code> or <code>include=src</code> in the <code>.coveragerc</code> also the same warning occurs. The tests passes for all the above cases.</p>
  <p>I want the coverage of the src folder.
  Is it because I am missing some path setting?</p>