Skip to content
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

build(deps-dev): bump ruff from 0.4.10 to 0.5.4 in /server #3669

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 22, 2024

Bumps ruff from 0.4.10 to 0.5.4.

Release notes

Sourced from ruff's releases.

0.5.4

Release Notes

Rule changes

  • [ruff] Rename RUF007 to zip-instead-of-pairwise (#12399)

Bug fixes

  • [flake8-builtins] Avoid shadowing diagnostics for @override methods (#12415)
  • [flake8-comprehensions] Insert parentheses for multi-argument generators (#12422)
  • [pydocstyle] Handle escaped docstrings within docstring (D301) (#12192)

Documentation

  • Fix GitHub link to Neovim setup (#12410)
  • Fix output-format default in settings reference (#12409)

Install ruff 0.5.4

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.5.4/ruff-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -c "irm https://github.com/astral-sh/ruff/releases/download/0.5.4/ruff-installer.ps1 | iex"

Download ruff 0.5.4

File Platform Checksum
ruff-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
ruff-x86_64-apple-darwin.tar.gz Intel macOS checksum
ruff-aarch64-pc-windows-msvc.zip ARM64 Windows checksum
ruff-i686-pc-windows-msvc.zip x86 Windows checksum
ruff-x86_64-pc-windows-msvc.zip x64 Windows checksum
ruff-aarch64-unknown-linux-gnu.tar.gz ARM64 Linux checksum
ruff-i686-unknown-linux-gnu.tar.gz x86 Linux checksum
ruff-powerpc64-unknown-linux-gnu.tar.gz PPC64 Linux checksum
ruff-powerpc64le-unknown-linux-gnu.tar.gz PPC64LE Linux checksum
ruff-s390x-unknown-linux-gnu.tar.gz S390x Linux checksum
ruff-x86_64-unknown-linux-gnu.tar.gz x64 Linux checksum
ruff-armv7-unknown-linux-gnueabihf.tar.gz ARMv7 Linux checksum
ruff-aarch64-unknown-linux-musl.tar.gz ARM64 MUSL Linux checksum
ruff-i686-unknown-linux-musl.tar.gz x86 MUSL Linux checksum

... (truncated)

Changelog

Sourced from ruff's changelog.

0.5.4

Rule changes

  • [ruff] Rename RUF007 to zip-instead-of-pairwise (#12399)

Bug fixes

  • [flake8-builtins] Avoid shadowing diagnostics for @override methods (#12415)
  • [flake8-comprehensions] Insert parentheses for multi-argument generators (#12422)
  • [pydocstyle] Handle escaped docstrings within docstring (D301) (#12192)

Documentation

  • Fix GitHub link to Neovim setup (#12410)
  • Fix output-format default in settings reference (#12409)

0.5.3

Ruff 0.5.3 marks the stable release of the Ruff language server and introduces revamped documentation, including setup guides for your editor of choice and the language server itself.

Preview features

  • Formatter: Insert empty line between suite and alternative branch after function/class definition (#12294)
  • [pyupgrade] Implement unnecessary-default-type-args (UP043) (#12371)

Rule changes

  • [flake8-bugbear] Detect enumerate iterations in loop-iterator-mutation (B909) (#12366)
  • [flake8-bugbear] Remove discard, remove, and pop allowance for loop-iterator-mutation (B909) (#12365)
  • [pylint] Allow repeated-equality-comparison for mixed operations (PLR1714) (#12369)
  • [pylint] Ignore self and cls when counting arguments (PLR0913) (#12367)
  • [pylint] Use UTF-8 as default encoding in unspecified-encoding fix (PLW1514) (#12370)

Server

  • Build settings index in parallel for the native server (#12299)
  • Use fallback settings when indexing the project (#12362)
  • Consider --preview flag for server subcommand for the linter and formatter (#12208)

Bug fixes

  • [flake8-comprehensions] Allow additional arguments for sum and max comprehensions (C419) (#12364)
  • [pylint] Avoid dropping extra boolean operations in repeated-equality-comparison (PLR1714) (#12368)
  • [pylint] Consider expression before statement when determining binding kind (PLR1704) (#12346)

Documentation

... (truncated)

Commits
  • 53b84ab Cleanup redundant spaces from changelog (#12424)
  • 3664f85 Bump version to v0.5.4 (#12423)
  • 2c1926b Insert parentheses for multi-argument generators (#12422)
  • 4bcc96a Avoid shadowing diagnostics for @override methods (#12415)
  • c0a2b49 Fix the Github link error for Neovim in the setup for editors in the docs. (#...
  • ca22248 Update docs Settings output-format default (#12409)
  • d8cf8ac [red-knot] Resolve symbols from builtins.pyi in the stdlib if they cannot b...
  • 1c7b840 [red-knot] fix incremental benchmark (#12400)
  • f82bb67 [red-knot] trace file when inferring types (#12401)
  • 5f96f69 [red-knot] Fix bug where module resolution would not be invalidated if an ent...
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 22, 2024
Copy link

vercel bot commented Jul 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
polar ⬜️ Ignored (Inspect) Visit Preview Jul 24, 2024 0:15am
polar-next-js-example ⬜️ Ignored (Inspect) Visit Preview Jul 24, 2024 0:15am

Copy link
Contributor

github-actions bot commented Jul 22, 2024

📦 Next.js Bundle Analysis for web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 226.57 KB (🟡 +1 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Thirty-six Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/layout 56.12 KB 282.68 KB 80.77% (🟢 -0.01%)
/backoffice/layout 456.56 KB 683.13 KB 195.18% (+/- <0.01%)
/maintainer/(onboarding)/create/page 99.81 KB 326.37 KB 93.25% (🟢 -0.05%)
/docs/api/[...endpoint]/page 426.75 KB 653.31 KB 186.66% (+/- <0.01%)
/maintainer/[organization]/(topbar)/layout 456.56 KB 683.13 KB 195.18% (+/- <0.01%)
/maintainer/[organization]/(topbar)/donations/overview/page 573.33 KB 799.89 KB 228.54% (+/- <0.01%)
/maintainer/[organization]/(topbar)/funding/page 482.44 KB 709.01 KB 202.57% (+/- <0.01%)
/maintainer/[organization]/(topbar)/issues/badge/page 468.3 KB 694.87 KB 198.53% (+/- <0.01%)
/maintainer/[organization]/(topbar)/issues/organizations/page 448.04 KB 674.6 KB 192.74% (+/- <0.01%)
/maintainer/[organization]/(topbar)/issues/overview/page 489.04 KB 715.61 KB 204.46% (+/- <0.01%)
/maintainer/[organization]/(topbar)/members/page 442.04 KB 668.61 KB 191.03% (+/- <0.01%)
/maintainer/[organization]/(topbar)/overview/page 472.72 KB 699.29 KB 199.80% (+/- <0.01%)
/maintainer/[organization]/(topbar)/posts/analytics/page 566.58 KB 793.14 KB 226.61% (+/- <0.01%)
/maintainer/[organization]/(topbar)/posts/page 556.81 KB 783.37 KB 223.82% (+/- <0.01%)
/maintainer/[organization]/(topbar)/products/benefits/page 539.74 KB 766.3 KB 218.94% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/orders/page 478.65 KB 705.21 KB 201.49% (+/- <0.01%)
/maintainer/[organization]/(topbar)/products/overview/page 475.67 KB 702.24 KB 200.64% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/overview/page 570.02 KB 796.58 KB 227.59% (+/- <0.01%)
/maintainer/[organization]/(topbar)/sales/subscriptions/page 491.53 KB 718.09 KB 205.17% (+/- <0.01%)
/maintainer/[organization]/(topbar)/settings/page 459.97 KB 686.54 KB 196.15% (+/- <0.01%)
/maintainer/[organization]/(topbar)/settings/webhooks/endpoints/[id]/page 488.36 KB 714.93 KB 204.26% (+/- <0.01%)
/maintainer/[organization]/(white)/posts/[post]/page 558.1 KB 784.66 KB 224.19% (+/- <0.01%)
/maintainer/[organization]/(white)/layout 441.08 KB 667.64 KB 190.76% (🟢 -0.01%)
/maintainer/[organization]/(white)/posts/new/page 555.76 KB 782.33 KB 223.52% (+/- <0.01%)
/maintainer/[organization]/products/[id]/page 528.5 KB 755.07 KB 215.73% (+/- <0.01%)
/maintainer/[organization]/products/layout 441.08 KB 667.64 KB 190.76% (🟢 -0.01%)
/maintainer/[organization]/products/new/page 528.19 KB 754.75 KB 215.64% (+/- <0.01%)
/maintainer/[organization]/promote/page 463.3 KB 689.87 KB 197.10% (+/- <0.01%)
/maintainer/[organization]/promote/layout 441.08 KB 667.64 KB 190.76% (🟢 -0.01%)
/docs/(mdx)/layout 354.63 KB 581.2 KB 166.06% (🟢 -0.01%)
/docs/api/(mdx)/layout 354.63 KB 581.19 KB 166.05% (+/- <0.01%)
/docs/contribute/layout 354.63 KB 581.2 KB 166.06% (🟢 -0.01%)
/docs/support/layout 354.63 KB 581.19 KB 166.06% (🟢 -0.01%)
/maintainer/[organization]/(topbar)/finance/layout 441.08 KB 667.64 KB 190.75% (+/- <0.01%)
/maintainer/[organization]/(topbar)/finance/issue-funding/layout 441.08 KB 667.64 KB 190.75% (+/- <0.01%)
/maintainer/[organization]/(topbar)/finance/issue-funding/rewarded/page 71.87 KB 298.44 KB 85.27% (+/- <0.01%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.10 to 0.5.4.
- [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.4.10...0.5.4)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/server/ruff-0.5.4 branch from 30237e6 to bbacd58 Compare July 24, 2024 11:59
@frankie567 frankie567 enabled auto-merge (rebase) July 24, 2024 12:04
@frankie567 frankie567 disabled auto-merge July 24, 2024 12:04
@frankie567 frankie567 merged commit aa3a52a into main Jul 24, 2024
7 of 10 checks passed
@frankie567 frankie567 deleted the dependabot/pip/server/ruff-0.5.4 branch July 24, 2024 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant