<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-coveragepy-git.git/setup.py, branch 6.2</title>
<subtitle>github.com: nedbat/coveragepy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/'/>
<entry>
<title>typo</title>
<updated>2021-11-11T21:21:19+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-11-11T21:21:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/commit/?id=bf42d44403351cd35d67af5bc1bb9b284ad1a08b'/>
<id>bf42d44403351cd35d67af5bc1bb9b284ad1a08b</id>
<content type='text'>
[skip actions]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[skip actions]
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: CPython 3.11 support. #1241</title>
<updated>2021-11-10T23:45:37+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-11-10T12:39:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/commit/?id=9765493020e6292599e272978a25935dd4d0fa88'/>
<id>9765493020e6292599e272978a25935dd4d0fa88</id>
<content type='text'>
The fix for CTracer is egregious and will need to be updated when there's a
supported way to do it.

The fullcoverage skip is noted in
https://github.com/nedbat/coveragepy/issues/1278

The raise_through_with skip is noted in
https://github.com/nedbat/coveragepy/issues/1270
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The fix for CTracer is egregious and will need to be updated when there's a
supported way to do it.

The fullcoverage skip is noted in
https://github.com/nedbat/coveragepy/issues/1278

The raise_through_with skip is noted in
https://github.com/nedbat/coveragepy/issues/1270
</pre>
</div>
</content>
</entry>
<entry>
<title>style: remove implicit string concatenation</title>
<updated>2021-10-30T13:28:50+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-10-30T13:28:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/commit/?id=3d962a30a3f659978b96ef59811e8062867b358b'/>
<id>3d962a30a3f659978b96ef59811e8062867b358b</id>
<content type='text'>
.. and also add trailing commas where needed to remove ambiguity.

I used semgrep with this config:
```
rules:
  - id: implicit-string-concatenation
    pattern: |
      "$X" "$Y"
    languages:
      - python
    message: string cat BAD
    severity: INFO
```

Running it showed this:

```
$ semgrep --config=../lab/string-cat.yml coverage tests doc ci igor.py setup.py __main__.py
Running 1 rules...
setup.py
severity:info rule:lab.implicit-string-concatenation: string cat BAD
128:            'https://tidelift.com/subscription/pkg/pypi-coverage'
129:            '?utm_source=pypi-coverage&amp;utm_medium=referral&amp;utm_campaign=pypi'

tests/test_api.py
severity:info rule:lab.implicit-string-concatenation: string cat BAD
319:            "!coverage.py: This is a private format, don't read it directly!"
320:            '{"lines":{"/private/tmp/foo.py":[1,5,2,3]}}'

tests/test_html.py
severity:info rule:lab.implicit-string-concatenation: string cat BAD
614:            ('&lt;span class="key"&gt;if&lt;/span&gt; &lt;span class="num"&gt;1&lt;/span&gt; '
615:             '&lt;span class="op"&gt;&amp;lt;&lt;/span&gt; &lt;span class="num"&gt;2&lt;/span&gt;'),
--------------------------------------------------------------------------------
616:            ('    &lt;span class="nam"&gt;a&lt;/span&gt; '
617:             '&lt;span class="op"&gt;=&lt;/span&gt; &lt;span class="num"&gt;3&lt;/span&gt;'),
--------------------------------------------------------------------------------
665:            ('&lt;span class="key"&gt;if&lt;/span&gt; &lt;span class="nam"&gt;x&lt;/span&gt; '
666:             '&lt;span class="op"&gt;&amp;lt;&lt;/span&gt; &lt;span class="num"&gt;2&lt;/span&gt;'),
--------------------------------------------------------------------------------
667:            ('    &lt;span class="nam"&gt;a&lt;/span&gt; &lt;span class="op"&gt;=&lt;/span&gt; '
668:             '&lt;span class="num"&gt;3&lt;/span&gt;'),
--------------------------------------------------------------------------------
949:            ('&lt;span class="key"&gt;if&lt;/span&gt; &lt;span class="num"&gt;1&lt;/span&gt; '
950:             '&lt;span class="op"&gt;&amp;lt;&lt;/span&gt; &lt;span class="num"&gt;2&lt;/span&gt;'),
--------------------------------------------------------------------------------
951:            ('    &lt;span class="nam"&gt;a&lt;/span&gt; &lt;span class="op"&gt;=&lt;/span&gt; '
952:             '&lt;span class="num"&gt;3&lt;/span&gt;'),
ran 1 rules on 134 files: 8 findings
```

This wasn't all of the instances, so I wrote a bug report: https://github.com/returntocorp/semgrep/issues/4184
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
.. and also add trailing commas where needed to remove ambiguity.

I used semgrep with this config:
```
rules:
  - id: implicit-string-concatenation
    pattern: |
      "$X" "$Y"
    languages:
      - python
    message: string cat BAD
    severity: INFO
```

Running it showed this:

```
$ semgrep --config=../lab/string-cat.yml coverage tests doc ci igor.py setup.py __main__.py
Running 1 rules...
setup.py
severity:info rule:lab.implicit-string-concatenation: string cat BAD
128:            'https://tidelift.com/subscription/pkg/pypi-coverage'
129:            '?utm_source=pypi-coverage&amp;utm_medium=referral&amp;utm_campaign=pypi'

tests/test_api.py
severity:info rule:lab.implicit-string-concatenation: string cat BAD
319:            "!coverage.py: This is a private format, don't read it directly!"
320:            '{"lines":{"/private/tmp/foo.py":[1,5,2,3]}}'

tests/test_html.py
severity:info rule:lab.implicit-string-concatenation: string cat BAD
614:            ('&lt;span class="key"&gt;if&lt;/span&gt; &lt;span class="num"&gt;1&lt;/span&gt; '
615:             '&lt;span class="op"&gt;&amp;lt;&lt;/span&gt; &lt;span class="num"&gt;2&lt;/span&gt;'),
--------------------------------------------------------------------------------
616:            ('    &lt;span class="nam"&gt;a&lt;/span&gt; '
617:             '&lt;span class="op"&gt;=&lt;/span&gt; &lt;span class="num"&gt;3&lt;/span&gt;'),
--------------------------------------------------------------------------------
665:            ('&lt;span class="key"&gt;if&lt;/span&gt; &lt;span class="nam"&gt;x&lt;/span&gt; '
666:             '&lt;span class="op"&gt;&amp;lt;&lt;/span&gt; &lt;span class="num"&gt;2&lt;/span&gt;'),
--------------------------------------------------------------------------------
667:            ('    &lt;span class="nam"&gt;a&lt;/span&gt; &lt;span class="op"&gt;=&lt;/span&gt; '
668:             '&lt;span class="num"&gt;3&lt;/span&gt;'),
--------------------------------------------------------------------------------
949:            ('&lt;span class="key"&gt;if&lt;/span&gt; &lt;span class="num"&gt;1&lt;/span&gt; '
950:             '&lt;span class="op"&gt;&amp;lt;&lt;/span&gt; &lt;span class="num"&gt;2&lt;/span&gt;'),
--------------------------------------------------------------------------------
951:            ('    &lt;span class="nam"&gt;a&lt;/span&gt; &lt;span class="op"&gt;=&lt;/span&gt; '
952:             '&lt;span class="num"&gt;3&lt;/span&gt;'),
ran 1 rules on 134 files: 8 findings
```

This wasn't all of the instances, so I wrote a bug report: https://github.com/returntocorp/semgrep/issues/4184
</pre>
</div>
</content>
</entry>
<entry>
<title>style: remove mention of Python 2</title>
<updated>2021-10-30T12:03:44+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-10-30T11:52:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/commit/?id=0984338df1dd98a1e4fbe4fd3f878f38e9d393a5'/>
<id>0984338df1dd98a1e4fbe4fd3f878f38e9d393a5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add link to coverage.py twitter account to project urls (#1217)</title>
<updated>2021-08-30T22:25:20+00:00</updated>
<author>
<name>Asher Foa</name>
<email>asher@toolchain.com</email>
</author>
<published>2021-08-30T22:25:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/commit/?id=6ded3a5183a126db3ee6704388cd95fd702c6709'/>
<id>6ded3a5183a126db3ee6704388cd95fd702c6709</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: raise chained errors with "from" #998</title>
<updated>2021-07-20T12:32:28+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-07-20T10:54:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/commit/?id=5313297fe84c596f9222a4890dd45a53a6d4d632'/>
<id>5313297fe84c596f9222a4890dd45a53a6d4d632</id>
<content type='text'>
This makes exceptions report their causes correctly, as "The above exception was
the direct cause of the following exception" instead of "During handling of the
above exception, another exception occurred."
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes exceptions report their causes correctly, as "The above exception was
the direct cause of the following exception" instead of "During handling of the
above exception, another exception occurred."
</pre>
</div>
</content>
</entry>
<entry>
<title>Support TOML v1.0.0 syntax in `pyproject.toml` (#1186)</title>
<updated>2021-07-13T10:23:09+00:00</updated>
<author>
<name>Thomas Grainger</name>
<email>tagrain@gmail.com</email>
</author>
<published>2021-07-13T10:23:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/commit/?id=80bfea74c10dec30a0fa64e1379b80c897b060a9'/>
<id>80bfea74c10dec30a0fa64e1379b80c897b060a9</id>
<content type='text'>
* Support TOML v1.0.0 syntax in `pyproject.toml`

fixes #1180

Co-authored-by: Taneli Hukkinen &lt;3275109+hukkin@users.noreply.github.com&gt;

* fix toml meta test

* use pytest.mark.parametrize to narrow test failure

* Update tests/test_config.py

Co-authored-by: Taneli Hukkinen &lt;3275109+hukkin@users.noreply.github.com&gt;

Co-authored-by: Taneli Hukkinen &lt;3275109+hukkin@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Support TOML v1.0.0 syntax in `pyproject.toml`

fixes #1180

Co-authored-by: Taneli Hukkinen &lt;3275109+hukkin@users.noreply.github.com&gt;

* fix toml meta test

* use pytest.mark.parametrize to narrow test failure

* Update tests/test_config.py

Co-authored-by: Taneli Hukkinen &lt;3275109+hukkin@users.noreply.github.com&gt;

Co-authored-by: Taneli Hukkinen &lt;3275109+hukkin@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: pyupgrade --py36-plus *.py</title>
<updated>2021-05-02T11:38:19+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-05-01T22:26:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/commit/?id=14449eedfa140b5a55896b9e064d3b52af9670f5'/>
<id>14449eedfa140b5a55896b9e064d3b52af9670f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>build: next version will be 6.0, dropping support for 2.7 &amp; 3.5</title>
<updated>2021-05-01T22:03:17+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2021-05-01T22:03:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/commit/?id=767a3de326cf438d4731cfddb3e58e6cba3fb5e1'/>
<id>767a3de326cf438d4731cfddb3e58e6cba3fb5e1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed python_requires="&lt;4" </title>
<updated>2021-03-03T23:32:12+00:00</updated>
<author>
<name>Nicholas Nadeau, Ph.D., P.Eng</name>
<email>nnadeau@users.noreply.github.com</email>
</author>
<published>2020-08-17T17:40:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-coveragepy-git.git/commit/?id=2cfc9d5a8ef0ebaee42b300005fc3b8509261cf3'/>
<id>2cfc9d5a8ef0ebaee42b300005fc3b8509261cf3</id>
<content type='text'>
Python 4 doesn't exist, this requirement is redundant</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python 4 doesn't exist, this requirement is redundant</pre>
</div>
</content>
</entry>
</feed>
