<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-coveragepy-git.git/coverage/inorout.py, branch 7.2.2</title>
<subtitle>github.com: nedbat/coveragepy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/'/>
<entry>
<title>fix: don't measure all third-party packages if source is in third-party location</title>
<updated>2023-03-15T09:48:29+00:00</updated>
<author>
<name>Manuel Jacob</name>
<email>me@manueljacob.de</email>
</author>
<published>2023-02-21T02:03:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=4574ecf128ae51c2b950f6c9cb2486b86f5354e7'/>
<id>4574ecf128ae51c2b950f6c9cb2486b86f5354e7</id>
<content type='text'>
There is logic to not measure third-party packages inside configured sources. However, when a (i.e. another) configured source was inside a third-party location, this logic was previously disabled completely.

This caused a problem if a virtual env is set up inside a configured source directory and a configured source package gets installed inside the virtual env. Previously in this case, coverage was measured for all files in the virtual env for the reason described in the previous paragraph.

This commit changes the code to collect all configured source directories inside third-party locations and disable coverage for code in third-party locations only if its not in one of these collected source directories.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is logic to not measure third-party packages inside configured sources. However, when a (i.e. another) configured source was inside a third-party location, this logic was previously disabled completely.

This caused a problem if a virtual env is set up inside a configured source directory and a configured source package gets installed inside the virtual env. Previously in this case, coverage was measured for all files in the virtual env for the reason described in the previous paragraph.

This commit changes the code to collect all configured source directories inside third-party locations and disable coverage for code in third-party locations only if its not in one of these collected source directories.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: make tracing messages easier to understand</title>
<updated>2023-01-22T21:15:35+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-01-22T21:15:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=61f6ee5c3b2f99a02c3b5988123e74e1d3dbc8ba'/>
<id>61f6ee5c3b2f99a02c3b5988123e74e1d3dbc8ba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>style: use good style for annotated defaults parameters</title>
<updated>2023-01-06T01:10:24+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-01-06T01:10:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=78444f4c06df6a634fa67dd99ee7c07b6b633d9e'/>
<id>78444f4c06df6a634fa67dd99ee7c07b6b633d9e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>style: better</title>
<updated>2023-01-03T02:40:13+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-01-03T02:39:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=2090f79d4a0447f4d3744ea957fcebd951f0b843'/>
<id>2090f79d4a0447f4d3744ea957fcebd951f0b843</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mypy: check collector.py and plugin_support.py</title>
<updated>2023-01-02T00:27:47+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-01-01T23:57:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=0c9b5e0e9da9c2cffd50db7b28142d22d0f66cee'/>
<id>0c9b5e0e9da9c2cffd50db7b28142d22d0f66cee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mypy: add env.py</title>
<updated>2023-01-01T03:08:25+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-01-01T03:08:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=09f9188e826f900198d638ee3c42b27bca29597d'/>
<id>09f9188e826f900198d638ee3c42b27bca29597d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: removed mentions of Jython and IronPython</title>
<updated>2022-12-30T23:35:09+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2022-12-30T23:07:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=45787e29dea3a41f2e9570b66a571a7ebcda4592'/>
<id>45787e29dea3a41f2e9570b66a571a7ebcda4592</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mypy: inorout.py, disposition.py, and part of control.py</title>
<updated>2022-12-30T14:57:46+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2022-12-30T12:05:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=27990185352f035bafbb0cc7c8ac4159e87fe070'/>
<id>27990185352f035bafbb0cc7c8ac4159e87fe070</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test: remove pycontracts</title>
<updated>2022-12-25T17:56:31+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2022-12-25T17:56:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=54e90650ccdc77da50fa7986c1c6128d34229389'/>
<id>54e90650ccdc77da50fa7986c1c6128d34229389</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>style: fix spelling</title>
<updated>2022-11-28T11:01:22+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2022-11-28T10:45:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=aa62abd5ff33926f44fe4ec9e985ed3d72ea1f9d'/>
<id>aa62abd5ff33926f44fe4ec9e985ed3d72ea1f9d</id>
<content type='text'>
un-executed, white space, time stamp.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
un-executed, white space, time stamp.
</pre>
</div>
</content>
</entry>
</feed>
