-
Notifications
You must be signed in to change notification settings - Fork 224
chore(deps-dev): bump ruff from 0.5.7 to 0.6.9 #952
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Disclaimer: Experimental PR review
PR Summary
This PR updates the ruff dependency in pyproject.toml, extending the version range to include newer releases up to 0.7.0.
- Updated ruff version range in
pyproject.tomlfrom '>=0.1.8,<0.6.0' to '>=0.1.8,<0.7.0' - CI workflow in
.github/workflows/ci.ymluses thechartboost/ruff-action@v1for linting - Pre-commit hook in
.pre-commit-config.yamluses ruff version 0.3.2 for linting and formatting - Two separate ruff configuration files:
ruff.tomlfor local development andci.ruff.tomlfor CI
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
693ae16 to
5a0c21d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Disclaimer: Experimental PR review
PR Summary
(updates since last review)
This PR updates the ruff dependency from version 0.5.7 to 0.6.9, introducing various improvements and bug fixes across the Langfuse Python SDK.
- Updated
LlamaIndexInstrumentorinlangfuse/llama_index/__init__.py, replacingLlamaIndexSpanHandler - Added new files for LlamaIndex integration:
_context.py,_event_handler.py,_instrumentor.py, and_span_handler.py - Modified
CreateModelRequestinlangfuse/api/resources/models/types/create_model_request.pyto usedt.datetimeinstead ofdt.dateforstart_date - Updated version to 2.52.0 in
langfuse/version.py - Improved error logging in
LangfuseDecoratorclass inlangfuse/decorators/langfuse_decorator.py
25 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.7 to 0.6.9. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.5.7...0.6.9) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
5a0c21d to
9c36622
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Disclaimer: Experimental PR review
PR Summary
(updates since last review)
This pull request updates the 'ruff' dependency from version 0.5.7 to 0.6.9, introducing minor changes and improvements to the Langfuse Python SDK.
- Updated
pyproject.tomlto allow ruff versions up to 0.7.0 - Modified
langfuse/callback/langchain.pyto improve handling of 'tools' in LLM interactions - Added new test in
tests/test_langchain.pyfor OpenAI function calls with structured tools - Updated
CreateModelRequestincreate_model_request.pyto usedt.datetimeforstart_date - Bumped version to 2.52.0 in
langfuse/version.py
3 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
|
Superseded by #968. |
Bumps ruff from 0.5.7 to 0.6.9.
Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
975be9cBump version to 0.6.9 (#13624)99e4566MarkFURB118fix as unsafe (#13613)7ad07c2Addallow-unused-importssetting forunused-importrule (F401) (#13601)4aefe52Support ruff discovery in pip build environments (#13591)cc1f766Preserve trivia (i.e. comments) in PLR5501 (#13573)fdd0a22Move to maintained mirror of prettier (#13592)3728d5b[pyupgrade] Fix UP043 to apply tocollections.abc.Generatorand `collecti...7e3894fAvoid short circuitingB017for multiple context managers (#13609)c3b40daUse backticks for code in red-knot messages (#13599)ef45185Allow users to provide custom diagnostic messages when unwrapping calls (#13597)You can trigger a rebase of this PR 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)