DanielNoord / pydocstringformatter

Automatically format your Python docstrings to conform with PEP 8 and PEP 257
MIT License
74 stars 8 forks source link

Bump coverage[toml] from 7.3.2 to 7.4.0 #342

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 8 months ago

Bumps coverage[toml] from 7.3.2 to 7.4.0.

Release notes

Sourced from coverage[toml]'s releases.

7.4.0

  • In Python 3.12 and above, you can try an experimental core based on the new sys.monitoring <python:sys.monitoring> module by defining a COVERAGE_CORE=sysmon environment variable. This should be faster, though plugins and dynamic contexts are not yet supported with it. I am very interested to hear how it works (or doesn't!) for you.

:arrow_right:  PyPI page: coverage 7.4.0. :arrow_right:  To install: python3 -m pip install coverage==7.4.0

7.3.4

  • Fix: the change for multi-line signature exclusions in 7.3.3 broke other forms of nested clauses being excluded properly. This is now fixed, closing issue 1713.
  • Fix: in the HTML report, selecting code for copying won't select the line numbers also. Thanks, Robert Harris.

:arrow_right:  PyPI page: coverage 7.3.4. :arrow_right:  To install: python3 -m pip install coverage==7.3.4

7.3.3

  • Fix: function definitions with multi-line signatures can now be excluded by matching any of the lines, closing issue 684. Thanks, Jan Rusak, Maciej Kowalczyk and Joanna Ejzel.
  • Fix: XML reports could fail with a TypeError if files had numeric components that were duplicates except for leading zeroes, like file1.py and file001.py. Fixes issue 1709.
  • The coverage annotate command used to announce that it would be removed in a future version. Enough people got in touch to say that they use it, so it will stay. Don't expect it to keep up with other new features though.
  • Added new debug options <cmd_run_debug>:
    • pytest writes the pytest test name into the debug output.
    • dataop2 writes the full data being added to CoverageData objects.

:arrow_right:  PyPI page: coverage 7.3.3. :arrow_right:  To install: python3 -m pip install coverage==7.3.3

Changelog

Sourced from coverage[toml]'s changelog.

Version 7.4.0 — 2023-12-27

  • In Python 3.12 and above, you can try an experimental core based on the new :mod:sys.monitoring <python:sys.monitoring> module by defining a COVERAGE_CORE=sysmon environment variable. This should be faster, though plugins and dynamic contexts are not yet supported with it. I am very interested to hear how it works (or doesn't!) for you.

.. _changes_7-3-4:

Version 7.3.4 — 2023-12-20

  • Fix: the change for multi-line signature exclusions in 7.3.3 broke other forms of nested clauses being excluded properly. This is now fixed, closing issue 1713_.

  • Fix: in the HTML report, selecting code for copying won't select the line numbers also. Thanks, Robert Harris <pull 1717_>_.

.. _issue 1713: nedbat/coveragepy#1713 .. _pull 1717: nedbat/coveragepy#1717

.. _changes_7-3-3:

Version 7.3.3 — 2023-12-14

  • Fix: function definitions with multi-line signatures can now be excluded by matching any of the lines, closing issue 684. Thanks, Jan Rusak, Maciej Kowalczyk and Joanna Ejzel <pull 1705_>.

  • Fix: XML reports could fail with a TypeError if files had numeric components that were duplicates except for leading zeroes, like file1.py and file001.py. Fixes issue 1709_.

  • The coverage annotate command used to announce that it would be removed in a future version. Enough people got in touch to say that they use it, so it will stay. Don't expect it to keep up with other new features though.

  • Added new :ref:debug options <cmd_run_debug>:

    • pytest writes the pytest test name into the debug output.

    • dataop2 writes the full data being added to CoverageData objects.

.. _issue 684: nedbat/coveragepy#684

... (truncated)

Commits
  • 23a015c docs: sample HTML for 7.4.0
  • 4f020d4 docs: prep for 7.4.0
  • 5bb88c3 build: temporarily disable metacov, it's flaky now with sysmon support
  • 3879b97 docs: mention sys.monitoring support
  • 9a84eeb style: environment variable names should be monospace
  • 7882b8c refactor: clean lint and mypy for sysmon et al
  • 5dad1a1 test: test which core we get
  • b7e0c34 fix: don't default to sysmon yet
  • e5babcf docs: explain the COVERAGE_*_CORE testing variables
  • ebdc277 fix: use core more consistently than tracer
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
github-actions[bot] commented 8 months ago

According to the primer, this change has no effect on the checked open source code. 🤖🎉

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (dac5e86) 100.00% compared to head (823e68d) 100.00%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/DanielNoord/pydocstringformatter/pull/342/graphs/tree.svg?width=650&height=150&src=pr&token=TR61QNMBZG&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Dani%C3%ABl+van+Noord)](https://app.codecov.io/gh/DanielNoord/pydocstringformatter/pull/342?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Dani%C3%ABl+van+Noord) ```diff @@ Coverage Diff @@ ## main #342 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 31 31 Lines 1127 1127 Branches 205 205 ========================================= Hits 1127 1127 ``` | [Flag](https://app.codecov.io/gh/DanielNoord/pydocstringformatter/pull/342/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Dani%C3%ABl+van+Noord) | Coverage Δ | | |---|---|---| | [linux](https://app.codecov.io/gh/DanielNoord/pydocstringformatter/pull/342/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Dani%C3%ABl+van+Noord) | `98.93% <ø> (ø)` | | | [windows](https://app.codecov.io/gh/DanielNoord/pydocstringformatter/pull/342/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Dani%C3%ABl+van+Noord) | `99.91% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Dani%C3%ABl+van+Noord#carryforward-flags-in-the-pull-request-comment) to find out more.