Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dev dependencies (non-major) #727

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 14, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
black (changelog) 24.8.0 -> 24.10.0 age adoption passing confidence
coverage 7.6.1 -> 7.6.4 age adoption passing confidence
mypy (source, changelog) 1.11.2 -> 1.13.0 age adoption passing confidence
ruff (source, changelog) 0.6.4 -> 0.7.1 age adoption passing confidence

Release Notes

psf/black (black)

v24.10.0

Compare Source

Highlights
  • Black is now officially tested with Python 3.13 and provides Python 3.13
    mypyc-compiled wheels. (#​4436) (#​4449)
  • Black will issue an error when used with Python 3.12.5, due to an upstream memory
    safety issue in Python 3.12.5 that can cause Black's AST safety checks to fail. Please
    use Python 3.12.6 or Python 3.12.4 instead. (#​4447)
  • Black no longer supports running with Python 3.8 (#​4452)
Stable style
  • Fix crashes involving comments in parenthesised return types or X | Y style unions.
    (#​4453)
  • Fix skipping Jupyter cells with unknown %% magic (#​4462)
Preview style
  • Fix type annotation spacing between * and more complex type variable tuple (i.e. def fn(*args: *tuple[*Ts, T]) -> None: pass) (#​4440)
Caching
  • Fix bug where the cache was shared between runs with and without --unstable (#​4466)
Packaging
  • Upgrade version of mypyc used to 1.12 beta (#​4450) (#​4449)
  • blackd now requires a newer version of aiohttp. (#​4451)
Output
  • Added Python target version information on parse error (#​4378)
  • Add information about Black version to internal error messages (#​4457)
nedbat/coveragepy (coverage)

v7.6.4

Compare Source

  • fix: multi-line with statements could cause contained branches to be
    incorrectly marked as missing (issue 1880_). This is now fixed.

.. _issue 1880:https://github.com/nedbat/coveragepy/issues/18800

.. _changes_7-6-3:

v7.6.3

Compare Source

  • Fix: nested context managers could incorrectly be analyzed to flag a missing
    branch on the last context manager, as described in issue 1876_. This is
    now fixed.

  • Fix: the missing branch message about not exiting a module had an extra
    "didn't," as described in issue 1873_. This is now fixed.

.. _issue 1873:https://github.com/nedbat/coveragepy/issues/18733
.. _issue 1876https://github.com/nedbat/coveragepy/issues/187676

.. _changes_7-6-2:

v7.6.2

Compare Source

  • Dropped support for Python 3.8 and PyPy 3.8.

  • Fix: a final wildcard match/case clause assigning to a name (case _ as value) was incorrectly marked as a missing branch. This is now fixed,
    closing issue 1860_.

  • Fewer things are considered branches now. Lambdas, comprehensions, and
    generator expressions are no longer marked as missing branches if they don't
    complete execution. Closes issue 1852_.

  • Fix: the HTML report didn't properly show multi-line f-strings that end with
    a backslash continuation. This is now fixed, closing issue 1836, thanks
    to LiuYinCarl and Marco Ricci <pull 1838_>
    .

  • Fix: the LCOV report now has correct line numbers (fixing issue 1846) and
    better branch descriptions for BRDA records (fixing issue 1850
    ). There
    are other changes to lcov also, including a new configuration option
    :ref:line_checksums <config_lcov_line_checksums> to control whether line
    checksums are included in the lcov report. The default is false. To keep
    checksums set it to true. All this work is thanks to Zack Weinberg
    (pull 1849_ and pull 1851_).

  • Fixed the docs for multi-line regex exclusions, closing issue 1863_.

  • Fixed a potential crash in the C tracer, closing issue 1835, thanks to
    Jan Kühle <pull 1843_>
    .

.. _issue 1835:https://github.com/nedbat/coveragepy/issues/18355
.. _issue 1836https://github.com/nedbat/coveragepy/issues/183636
.. _pull 183https://github.com/nedbat/coveragepy/pull/1838838
.. _pull 18https://github.com/nedbat/coveragepy/pull/18431843
.. _issue 1https://github.com/nedbat/coveragepy/issues/1846/1846
.. _pull https://github.com/nedbat/coveragepy/pull/1849l/1849
.. _issuehttps://github.com/nedbat/coveragepy/issues/1850es/1850
.. _pulhttps://github.com/nedbat/coveragepy/pull/1851ull/1851
.. _isshttps://github.com/nedbat/coveragepy/issues/1852sues/1852
.. _ishttps://github.com/nedbat/coveragepy/issues/1860ssues/1860
.. _ihttps://github.com/nedbat/coveragepy/issues/1863issues/1863

.. _changes_7-6-1:

python/mypy (mypy)

v1.13.0

Compare Source

v1.12.1

Compare Source

  • Fix crash when showing partially analyzed type in error message (Ivan Levkivskyi, PR 17961)
  • Fix iteration over union (when self type is involved) (Shantanu, PR 17976)
  • Fix type object with type var default in union context (Jukka Lehtosalo, PR 17991)
  • Revert change to os.path stubs affecting use of os.PathLike[Any] (Shantanu, PR 17995)

v1.12.0

Compare Source

astral-sh/ruff (ruff)

v0.7.1

Compare Source

Preview features
  • Fix E221 and E222 to flag missing or extra whitespace around == operator (#​13890)
  • Formatter: Alternate quotes for strings inside f-strings in preview (#​13860)
  • Formatter: Join implicit concatenated strings when they fit on a line (#​13663)
  • [pylint] Restrict iteration-over-set to only work on sets of literals (PLC0208) (#​13731)
Rule changes
  • [flake8-type-checking] Support auto-quoting when annotations contain quotes (#​11811)
Server
  • Avoid indexing the workspace for single-file mode (#​13770)
Bug fixes
  • Make ARG002 compatible with EM101 when raising NotImplementedError (#​13714)
Other changes
  • Introduce more Docker tags for Ruff (similar to uv) (#​13274)

v0.7.0

Compare Source

Check out the blog post for a migration guide and overview of the changes!

Breaking changes
  • The pytest rules PT001 and PT023 now default to omitting the decorator parentheses when there are no arguments
    (#​12838, #​13292).
    This was a change that we attempted to make in Ruff v0.6.0, but only partially made due to an error on our part.
    See the blog post for more details.
  • The useless-try-except rule (in our tryceratops category) has been recoded from TRY302 to
    TRY203 (#​13502). This ensures Ruff's code is consistent with
    the same rule in the tryceratops linter.
  • The lint.allow-unused-imports setting has been removed (#​13677). Use
    lint.pyflakes.allow-unused-imports
    instead.
Formatter preview style
  • Normalize implicit concatenated f-string quotes per part (#​13539)
Preview linter features
  • [refurb] implement hardcoded-string-charset (FURB156) (#​13530)
  • [refurb] Count codepoints not bytes for slice-to-remove-prefix-or-suffix (FURB188) (#​13631)
Rule changes
  • [pylint] Mark PLE1141 fix as unsafe (#​13629)
  • [flake8-async] Consider async generators to be "checkpoints" for cancel-scope-no-checkpoint (ASYNC100) (#​13639)
  • [flake8-bugbear] Do not suggest setting parameter strict= to False in B905 diagnostic message (#​13656)
  • [flake8-todos] Only flag the word "TODO", not words starting with "todo" (TD006) (#​13640)
  • [pycodestyle] Fix whitespace-related false positives and false negatives inside type-parameter lists (E231, E251) (#​13704)
  • [flake8-simplify] Stabilize preview behavior for SIM115 so that the rule can detect files
    being opened from a wider range of standard-library functions (#​12959).
CLI
  • Add explanation of fixable in --statistics command (#​13774)
Bug fixes
  • [pyflakes] Allow ipytest cell magic (F401) (#​13745)
  • [flake8-use-pathlib] Fix PTH123 false positive when open is passed a file descriptor (#​13616)
  • [flake8-bandit] Detect patterns from multi line SQL statements (S608) (#​13574)
  • [flake8-pyi] - Fix dropped expressions in PYI030 autofix (#​13727)

v0.6.9

Compare Source

Preview features
  • Fix codeblock dynamic line length calculation for indented docstring examples (#​13523)
  • [refurb] Mark FURB118 fix as unsafe (#​13613)
Rule changes
  • [pydocstyle] Don't raise D208 when last line is non-empty (#​13372)
  • [pylint] Preserve trivia (i.e. comments) in PLR5501 autofix (#​13573)
Configuration
  • [pyflakes] Add allow-unused-imports setting for unused-import rule (F401) (#​13601)
Bug fixes
  • Support ruff discovery in pip build environments (#​13591)
  • [flake8-bugbear] Avoid short circuiting B017 for multiple context managers (#​13609)
  • [pylint] Do not offer an invalid fix for PLR1716 when the comparisons contain parenthesis (#​13527)
  • [pyupgrade] Fix UP043 to apply to collections.abc.Generator and collections.abc.AsyncGenerator (#​13611)
  • [refurb] Fix handling of slices in tuples for FURB118, e.g., x[:, 1] (#​13518)
Documentation
  • Update GitHub Action link to astral-sh/ruff-action (#​13551)

v0.6.8

Compare Source

Preview features
  • Remove unnecessary parentheses around match case clauses (#​13510)
  • Parenthesize overlong if guards in match..case clauses (#​13513)
  • Detect basic wildcard imports in ruff analyze graph (#​13486)
  • [pylint] Implement boolean-chained-comparison (R1716) (#​13435)
Rule changes
  • [lake8-simplify] Detect SIM910 when using variadic keyword arguments, i.e., **kwargs (#​13503)
  • [pyupgrade] Avoid false negatives with non-reference shadowed bindings of loop variables (UP028) (#​13504)
Bug fixes
  • Detect tuples bound to variadic positional arguments i.e. *args (#​13512)
  • Exit gracefully on broken pipe errors (#​13485)
  • Avoid panic when analyze graph hits broken pipe (#​13484)
Performance
  • Reuse BTreeSets in module resolver (#​13440)
  • Skip traversal for non-compound statements (#​13441)

v0.6.7

Compare Source

Preview features
  • Add Python version support to ruff analyze CLI (#​13426)
  • Add exclude support to ruff analyze (#​13425)
  • Fix parentheses around return type annotations (#​13381)
Rule changes
  • [pycodestyle] Fix: Don't autofix if the first line ends in a question mark? (D400) (#​13399)
Bug fixes
  • Respect lint.exclude in ruff check --add-noqa (#​13427)
Performance
  • Avoid tracking module resolver files in Salsa (#​13437)
  • Use forget for module resolver database (#​13438)

v0.6.6

Compare Source

Preview features
  • [refurb] Skip slice-to-remove-prefix-or-suffix (FURB188) when non-trivial slice steps are present (#​13405)
  • Add a subcommand to generate dependency graphs (#​13402)
Formatter
  • Fix placement of inline parameter comments (#​13379)
Server
  • Fix off-by one error in the LineIndex::offset calculation (#​13407)
Bug fixes
  • [fastapi] Respect FastAPI aliases in route definitions (#​13394)
  • [pydocstyle] Respect word boundaries when detecting function signature in docs (#​13388)
Documentation
  • Add backlinks to rule overview linter (#​13368)
  • Fix documentation for editor vim plugin ALE (#​13348)
  • Fix rendering of FURB188 docs (#​13406)

v0.6.5

Compare Source

Preview features
  • [pydoclint] Ignore DOC201 when function name is "new" (#​13300)
  • [refurb] Implement slice-to-remove-prefix-or-suffix (FURB188) (#​13256)
Rule changes
  • [eradicate] Ignore script-comments with multiple end-tags (ERA001) (#​13283)
  • [pyflakes] Improve error message for UndefinedName when a builtin was added in a newer version than specified in Ruff config (F821) (#​13293)
Server
  • Add support for extensionless Python files for server (#​13326)
  • Fix configuration inheritance for configurations specified in the LSP settings (#​13285)
Bug fixes
  • [ruff] Handle unary operators in decimal-from-float-literal (RUF032) (#​13275)
CLI
  • Only include rules with diagnostics in SARIF metadata (#​13268)
Playground
  • Add "Copy as pyproject.toml/ruff.toml" and "Paste from TOML" (#​13328)
  • Fix errors not shown for restored snippet on page load (#​13262)

Configuration

📅 Schedule: Branch creation - "before 4am" in timezone America/Chicago, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

codecov bot commented Sep 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.94%. Comparing base (f629455) to head (669ebce).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #727      +/-   ##
==========================================
+ Coverage   65.33%   65.94%   +0.61%     
==========================================
  Files          46       46              
  Lines        2922     2922              
  Branches      688      342     -346     
==========================================
+ Hits         1909     1927      +18     
  Misses        954      954              
+ Partials       59       41      -18     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot changed the title chore(deps): update dependency ruff to v0.6.5 chore(deps): update dependency ruff to v0.6.6 Sep 20, 2024
@renovate renovate bot force-pushed the renovate/dev-dependencies branch 2 times, most recently from 1140539 to 9b2dd03 Compare September 21, 2024 19:46
@renovate renovate bot changed the title chore(deps): update dependency ruff to v0.6.6 chore(deps): update dependency ruff to v0.6.7 Sep 21, 2024
@renovate renovate bot changed the title chore(deps): update dependency ruff to v0.6.7 chore(deps): update dependency ruff to v0.6.8 Sep 26, 2024
@renovate renovate bot changed the title chore(deps): update dependency ruff to v0.6.8 chore(deps): update dependency ruff to v0.6.9 Oct 4, 2024
@renovate renovate bot force-pushed the renovate/dev-dependencies branch from b49b63c to 3055eee Compare October 4, 2024 15:49
@renovate renovate bot changed the title chore(deps): update dependency ruff to v0.6.9 chore(deps): update dev dependencies (non-major) Oct 7, 2024
@renovate renovate bot force-pushed the renovate/dev-dependencies branch 4 times, most recently from 4a9e410 to c8040b0 Compare October 14, 2024 20:17
@renovate renovate bot force-pushed the renovate/dev-dependencies branch 3 times, most recently from 3c74679 to f3bb4a9 Compare October 23, 2024 00:37
@renovate renovate bot force-pushed the renovate/dev-dependencies branch from f3bb4a9 to 669ebce Compare October 24, 2024 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant