Title: Bump ruff from 0.5.7 to 0.9.1 by dependabot[bot] · Pull Request #6 · surgeapi/python-sdk · GitHub
Open Graph Title: Bump ruff from 0.5.7 to 0.9.1 by dependabot[bot] · Pull Request #6 · surgeapi/python-sdk
X Title: Bump ruff from 0.5.7 to 0.9.1 by dependabot[bot] · Pull Request #6 · surgeapi/python-sdk
Description: Bumps ruff from 0.5.7 to 0.9.1.
Release notes
Sourced from ruff's releases.
0.9.1
Release Notes
Preview features
[pycodestyle] Run too-many-newlines-at-end-of-file on each cell in notebooks (W391) (#15308)
[ruff] Omit diagnostic for shadowed private function parameters in used-dummy-variable (RUF052) (#15376)
Rule changes
[flake8-bugbear] Improve assert-raises-exception message (B017) (#15389)
Formatter
Preserve trailing end-of line comments for the last string literal in implicitly concatenated strings (#15378)
Server
Fix a bug where the server and client notebooks were out of sync after reordering cells (#15398)
Bug fixes
[flake8-pie] Correctly remove wrapping parentheses (PIE800) (#15394)
[pyupgrade] Handle comments and multiline expressions correctly (UP037) (#15337)
Contributors
@AntoineD
@InSyncWithFoo
@MichaReiser
@calumy
@dcreager
@dhruvmanila
@dylwil3
@sharkdp
@tjkuson
Install ruff 0.9.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.9.1/ruff-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/astral-sh/ruff/releases/download/0.9.1/ruff-installer.ps1 | iex"
... (truncated)
Changelog
Sourced from ruff's changelog.
0.9.1
Preview features
[pycodestyle] Run too-many-newlines-at-end-of-file on each cell in notebooks (W391) (#15308)
[ruff] Omit diagnostic for shadowed private function parameters in used-dummy-variable (RUF052) (#15376)
Rule changes
[flake8-bugbear] Improve assert-raises-exception message (B017) (#15389)
Formatter
Preserve trailing end-of line comments for the last string literal in implicitly concatenated strings (#15378)
Server
Fix a bug where the server and client notebooks were out of sync after reordering cells (#15398)
Bug fixes
[flake8-pie] Correctly remove wrapping parentheses (PIE800) (#15394)
[pyupgrade] Handle comments and multiline expressions correctly (UP037) (#15337)
0.9.0
Check out the blog post for a migration guide and overview of the changes!
Breaking changes
Ruff now formats your code according to the 2025 style guide. As a result, your code might now get formatted differently. See the formatter section for a detailed list of changes.
This release doesn’t remove or remap any existing stable rules.
Stabilization
The following rules have been stabilized and are no longer in preview:
stdlib-module-shadowing (A005).
This rule has also been renamed: previously, it was called builtin-module-shadowing.
builtin-lambda-argument-shadowing (A006)
slice-to-remove-prefix-or-suffix (FURB188)
boolean-chained-comparison (PLR1716)
decimal-from-float-literal (RUF032)
post-init-default (RUF033)
useless-if-else (RUF034)
The following behaviors have been stabilized:
pytest-parametrize-names-wrong-type (PT006): Detect pytest.parametrize calls outside decorators and calls with keyword arguments.
... (truncated)
Commits
12f86f3 Ruff 0.9.1 (#15407)
2b28d56 Associate a trailing end-of-line comment in a parenthesized implicit concaten...
adca7bd Remove pygments pin (#15404)
6b98a26 [red-knot] Support assert_type (#15194)
c874638 [red-knot] Move tuple-containing-Never tests to Markdown (#15402)
c364b58 [flake8-pie] Correctly remove wrapping parentheses (PIE800) (#15394)
73d424e Fix outdated doc for handling the default file types with the pre-commit hook...
6e9ff44 Insert the cells from the start position (#15398)
f2c3ddc [red-knot] Move intersection type tests to Markdown (#15396)
b861551 Remove unnecessary backticks (#15393)
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 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
Open Graph Description: Bumps ruff from 0.5.7 to 0.9.1. Release notes Sourced from ruff's releases. 0.9.1 Release Notes Preview features [pycodestyle] Run too-many-newlines-at-end-of-file on each cell in notebooks ...
X Description: Bumps ruff from 0.5.7 to 0.9.1. Release notes Sourced from ruff's releases. 0.9.1 Release Notes Preview features [pycodestyle] Run too-many-newlines-at-end-of-file on each cell in notebo...
Opengraph URL: https://github.com/surgeapi/python-sdk/pull/6
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:cbc1baf3-8178-c94b-db39-9c0777fc6936 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E982:1773CF:2BAD956:39BE465:6B033A55 |
| html-safe-nonce | 4c2747224a1f177a599a9cde5df98433c556c8e6cc0761e2d8602ff95db606a7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTgyOjE3NzNDRjoyQkFEOTU2OjM5QkU0NjU6NkIwMzNBNTUiLCJ2aXNpdG9yX2lkIjoiNjA0NDUxNTkyNTEwMzk1MDQyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f5dcaccef51540063f858c751854e3f311b66102e2a8d3fbbb82612198b98f26 |
| hovercard-subject-tag | pull_request:2273409247 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/surgeapi/python-sdk/pull/6/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps ruff from 0.5.7 to 0.9.1. Release notes Sourced from ruff's releases. 0.9.1 Release Notes Preview features [pycodestyle] Run too-many-newlines-at-end-of-file on each cell in notebooks ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/surgeapi/python-sdk git https://github.com/surgeapi/python-sdk.git |
| octolytics-dimension-user_id | 182565092 |
| octolytics-dimension-user_login | surgeapi |
| octolytics-dimension-repository_id | 907450785 |
| octolytics-dimension-repository_nwo | surgeapi/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 907450785 |
| octolytics-dimension-repository_network_root_nwo | surgeapi/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width