chore(deps-dev): bump ruff from 0.5.7 to 0.7.0#968
Conversation
There was a problem hiding this comment.
Disclaimer: Experimental PR review
PR Summary
This pull request updates the ruff linter dependency from version 0.5.7 to 0.7.0 in the pyproject.toml file, introducing significant changes that may affect the project's linting configuration and CI pipeline.
- Updated
ruffdependency to version 0.7.0 inpyproject.toml - Breaking changes in
ruff0.7.0 include modifications to pytest rulesPT001andPT023 - The
useless-try-exceptrule has been recoded fromTRY302toTRY203 - Removal of the
lint.allow-unused-importssetting, replaced bylint.pyflakes.allow-unused-imports - New preview linter features added, including
refurbrulesFURB156andFURB188
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.7 to 0.7.0. - [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.7.0) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
67e453d to
8f928c4
Compare
There was a problem hiding this comment.
Disclaimer: Experimental PR review
PR Summary
(updates since last review)
This pull request continues to update the project to accommodate the new version of the 'ruff' linter (0.7.0) and includes several minor changes across multiple files. Here's a summary of the key updates:
- Modified
langfuse/extract_model.pyto support the DeepInfra model - Updated
langfuse/llama_index/_instrumentor.pyto remove the [BETA] tag from LlamaIndexInstrumentor - Added deprecation notice for LlamaIndexCallbackHandler in
langfuse/llama_index/llama_index.py - Improved handling of NoneType responses from OpenAI in
langfuse/openai.py - Bumped package version from 2.52.1 to 2.52.2 in
langfuse/version.py
These changes appear to be primarily maintenance-related, improving model support, updating integration statuses, and enhancing error handling. The version bump suggests these modifications are considered minor improvements to the package.
6 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
|
Superseded by #976. |
Bumps ruff from 0.5.7 to 0.7.0.
Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
5e6de4eChangelog for Ruff v0.7 (#13794)70e5c4aRecodeTRY302toTRY203(#13502)9218d6bRemoveallow-unused-importssetting from the common lint options (#13677)1b79ae9[ruff-0.7] Stabilise the expansion ofopen-file-with-context-handlerto wor...2b87587[flake8-pytest-style] Fix defaults whenlint.flake8-pytest-styleconfig s...d1e15f6Remove tab-size setting (#12835)89a8215Remove error messages for removed CLI aliases (#12833)202c6a6Removeoutput-format=textsetting (#12836)5c3c0c4[red-knot] Inference for comparison of union types (#13781)6b7a738Add explanation of fixable in--statisticscommand (#13774)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)