build(deps-dev): bump black from 24.4.0 to 24.4.2
Bumps black from 24.4.0 to 24.4.2.
Release notes
Sourced from black's releases.
24.4.2
This is a bugfix release to fix two regressions in the new f-string parser introduced in 24.4.1.
Parser
- Fix regression where certain complex f-strings failed to parse (#4332)
Performance
- Fix bad performance on certain complex string literals (#4331)
24.4.1
Highlights
- Add support for the new Python 3.12 f-string syntax introduced by PEP 701 (#3822)
Stable style
- Fix crash involving indented dummy functions containing newlines (#4318)
Parser
- Add support for type parameter defaults, a new syntactic feature added to Python 3.13 by PEP 696 (#4327)
Integrations
- Github Action now works even when
git archiveis skipped (#4313)
Changelog
Sourced from black's changelog.
24.4.2
This is a bugfix release to fix two regressions in the new f-string parser introduced in 24.4.1.
Parser
- Fix regression where certain complex f-strings failed to parse (#4332)
Performance
- Fix bad performance on certain complex string literals (#4331)
24.4.1
Highlights
- Add support for the new Python 3.12 f-string syntax introduced by PEP 701 (#3822)
Stable style
- Fix crash involving indented dummy functions containing newlines (#4318)
Parser
- Add support for type parameter defaults, a new syntactic feature added to Python 3.13 by PEP 696 (#4327)
Integrations
- Github Action now works even when
git archiveis skipped (#4313)
Commits
3702ba2Prepare release 24.4.2 (#4335)e4aaa8aFix incorrect f-string tokenization (#4332)ba88fc3Simplify string tokenization regexes (#4331)5683242New release templatee7fb048Prepare release 24.4.1 (#4328)3f0f8f1Support PEP 696 (#4327)2f88085Github Action: Directly install from repo ifexport-substis skipped (#4313)12ce3dbMove changelog entry to right section (#4326)1354be2Add support to style function definitions with newlines before function stubs...f4b644bPrevent wrapping of multiline fstrings in parens (#4325)- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| codedog | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 13, 2024 1:11am |
[!IMPORTANT]
Auto Review Skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai reviewcommand.You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Tips
Chat
There are 3 ways to chat with CodeRabbit:
- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
-
I pushed a fix in commit <commit_id>. -
Generate unit testing code for this file. -
Open a follow-up GitHub issue for this discussion.
-
- Files and specific lines of code (under the "Files changed" tab): Tag
@coderabbitaiin a new review comment at the desired location with your query. Examples:-
@coderabbitai generate unit testing code for this file. -
@coderabbitai modularize this function.
-
- PR comments: Tag
@coderabbitaiin a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:-
@coderabbitai generate interesting stats about this repository and render them as a table. -
@coderabbitai show all the console.log statements in this repository. -
@coderabbitai read src/utils.ts and generate unit testing code. -
@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
-
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.
CodeRabbit Commands (invoked as PR comments)
-
@coderabbitai pauseto pause the reviews on a PR. -
@coderabbitai resumeto resume the paused reviews. -
@coderabbitai reviewto trigger a review. This is useful when automatic reviews are disabled for the repository. -
@coderabbitai resolveresolve all the CodeRabbit review comments. -
@coderabbitai helpto get help.
Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
CodeRabbit Configration File (.coderabbit.yaml)
- You can programmatically configure CodeRabbit by adding a
.coderabbit.yamlfile to the root of your repository. - Please see the configuration documentation for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation:
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
Documentation and Community
- Visit our Documentation for detailed information on how to use CodeRabbit.
- Join our Discord Community to get help, request features, and share feedback.
- Follow us on X/Twitter for updates and announcements.
Coverage Report
File Stmts Miss Cover Missing codedog __init__.py 5 4 20% 113–117 localization.py 17 6 65% 16–18, 22, 26, 30 version.py 2 2 0% 3–4 codedog/actors/reporters code_review.py 17 14 18% 6–30 pr_summary.py 38 35 8% 4–95 pull_request.py 21 17 19% 6–48 codedog/chains __init__.py 4 4 0% 1–5 prompts.py 3 3 0% 1–5 codedog/chains/code_review base.py 63 63 0% 1–134 prompts.py 3 3 0% 2–6 translate_code_review_chain.py 47 47 0% 1–102 codedog/chains/pr_summary base.py 81 81 0% 1–173 prompts.py 7 7 0% 1–14 translate_pr_summary_chain.py 59 59 0% 1–150 codedog/models __init__.py 11 9 18% 3–12 change_file.py 50 46 8% 9–66 change_summary.py 6 6 0% 1–9 code_review.py 5 5 0% 1–8 commit.py 23 23 0% 1–29 issue.py 23 23 0% 1–29 pr_summary.py 20 20 0% 1–29 pull_request.py 39 39 0% 1–46 repository.py 23 23 0% 1–29 codedog/processors __init__.py 2 2 0% 1–3 pull_request_processor.py 51 51 0% 1–108 codedog/retrievers __init__.py 3 3 0% 1–4 base.py 22 22 0% 1–44 github_retriever.py 100 100 0% 1–252 gitlab_retriever.py 119 119 0% 1–239 codedog/utils diff_utils.py 6 6 0% 1–19 langchain_utils.py 16 16 0% 1–47 TOTAL 977 858 12%
| Tests | Skipped | Failures | Errors | Time |
|---|---|---|---|---|
| 4 | 0 :zzz: | 0 :x: | 4 :fire: | 2.824s :stopwatch: |