-
-
Notifications
You must be signed in to change notification settings - Fork 680
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
⬆ Bump ruff from 0.2.0 to 0.6.1 #938
Conversation
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.2.0 to 0.6.1. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@v0.2.0...0.6.1) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
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.
To upgrade to ruff 0.6.1, we need to add the following changes as well:
- Use f-strings for the Click examples. We already wanted to this: ♻️ Use F-strings in Click examples in docs #891 so this edit should be fine
- Update 4 cases of a
==
check to anis
comparison for the type check. The latter seems more correct to me, so this edit seems fine as well - Update some of the formatting across the repo (3 files reformatted)
The first 2 fixes are an improvement IMO, and the slight change in formatting is not so dramatic. As such, I think it's worth considering doing the upgrade.
📝 Docs preview for commit 52722d0 at: https://b5ffd922.typertiangolo.pages.dev |
Hm, I'm confused why the
🤔 |
A newer version of ruff exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged. |
Great, thank you @svlandeg! 🚀 |
Bumps ruff from 0.2.0 to 0.6.1.
Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
499c0bd
Bump version to 0.6.1 (#12937)4cb30b5
N817
docs: refer to the correct setting (#12935)aba0d83
[flake8-naming
]: Respect import conventions (N817
) (#12922)c319414
Ignore blank line rules for docs formatting (#12934)ef1f6d9
Fix description of where the contributor list comes from in instructions for ...b850b81
Use cell source code instead of the concatenated one (#12929)a87b27c
[red-knot] Add support for relative imports (#12910)9b73532
[flake8-async
] Fix examples to useasync with
(#12924)d8debb7
Simplify logic forRUF027
(#12907)bd4a947
[red-knot] Add symbol and definition for parameters (#12862)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 <dependency name> 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)