bulletproof-python
bulletproof-python copied to clipboard
Bump ruff from 0.4.9 to 0.6.5
Bumps ruff from 0.4.9 to 0.6.5.
Release notes
Sourced from ruff's releases.
0.6.5
Release Notes
Preview features
- [
pydoclint] IgnoreDOC201when function name is "new" (#13300)- [
refurb] Implementslice-to-remove-prefix-or-suffix(FURB188) (#13256)Rule changes
- [
eradicate] Ignore script-comments with multiple end-tags (ERA001) (#13283)- [
pyflakes] Improve error message forUndefinedNamewhen 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 indecimal-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)
Install ruff 0.6.5
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.6.5/ruff-installer.sh | shInstall prebuilt binaries via powershell script
powershell -c "irm https://github.com/astral-sh/ruff/releases/download/0.6.5/ruff-installer.ps1 | iex"Download ruff 0.6.5
File Platform Checksum ruff-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
... (truncated)
Changelog
Sourced from ruff's changelog.
0.6.5
Preview features
- [
pydoclint] IgnoreDOC201when function name is "new" (#13300)- [
refurb] Implementslice-to-remove-prefix-or-suffix(FURB188) (#13256)Rule changes
- [
eradicate] Ignore script-comments with multiple end-tags (ERA001) (#13283)- [
pyflakes] Improve error message forUndefinedNamewhen 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 indecimal-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)
0.6.4
Preview features
- [
flake8-builtins] Use dynamic builtins list based on Python version (#13172)- [
pydoclint] Permit yieldingNoneinDOC402andDOC403(#13148)- [
pylint] Update diagnostic message forPLW3201(#13194)- [
ruff] Implementpost-init-default(RUF033) (#13192)- [
ruff] Implement useless if-else (RUF034) (#13218)Rule changes
- [
flake8-pyi] Respectpep8_naming.classmethod-decoratorssettings when determining if a method is a classmethod incustom-type-var-return-type(PYI019) (#13162)- [
flake8-pyi] Teach various rules that annotations might be stringized (#12951)- [
pylint] Avoidno-self-useforattrs-style validators (#13166)- [
pylint] Recurse into subscript subexpressions when searching for list/dict lookups (PLR1733,PLR1736) (#13186)- [
pyupgrade] Detectaiofiles.opencalls inUP015(#13173)- [
pyupgrade] Marksys.version_info[0] < 3and similar comparisons as outdated (UP036) (#13175)CLI
... (truncated)
Commits
8558126Bump version to 0.6.5 (#13346)9bd9981Create insta snapshot for SARIF output (#13345)21bfab9Playground: Add Copy as pyproject.toml/ruff.toml and paste from TOML (#13328)43a5922[red-knot] add BitSet::is_empty and BitSet::union (#13333)175d067[red-knot] add initial Type::is_equivalent_to and Type::is_assignable_to (#13...4dc2c25[red-knot] Fix type inference forexcept*definitions (#13320)b72d49bAdd support for extensionless Python files for server (#13326)eded78a[pyupgrade] Fix broken doc link and clarify that deprecated aliases were re...a7b8cc0[red-knot] Fix.to_instance()for union types (#13319)b93d0ab[red-knot] Add control flow forforloops (#13318)- 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)