Title: Bump ruff from 0.5.7 to 0.9.4 by dependabot[bot] · Pull Request #10 · surgeapi/python-sdk · GitHub
Open Graph Title: Bump ruff from 0.5.7 to 0.9.4 by dependabot[bot] · Pull Request #10 · surgeapi/python-sdk
X Title: Bump ruff from 0.5.7 to 0.9.4 by dependabot[bot] · Pull Request #10 · surgeapi/python-sdk
Description: Bumps ruff from 0.5.7 to 0.9.4.
Release notes
Sourced from ruff's releases.
0.9.4
Release Notes
Preview features
[airflow] Extend airflow context parameter check for BaseOperator.execute (AIR302) (#15713)
[airflow] Update AIR302 to check for deprecated context keys (#15144)
[flake8-bandit] Permit suspicious imports within stub files (S4) (#15822)
[pylint] Do not trigger PLR6201 on empty collections (#15732)
[refurb] Do not emit diagnostic when loop variables are used outside loop body (FURB122) (#15757)
[ruff] Add support for more re patterns (RUF055) (#15764)
[ruff] Check for shadowed map before suggesting fix (RUF058) (#15790)
[ruff] Do not emit diagnostic when all arguments to zip() are variadic (RUF058) (#15744)
[ruff] Parenthesize fix when argument spans multiple lines for unnecessary-round (RUF057) (#15703)
Rule changes
Preserve quote style in generated code (#15726, #15778, #15794)
[flake8-bugbear] Exempt NewType calls where the original type is immutable (B008) (#15765)
[pylint] Honor banned top-level imports by TID253 in PLC0415. (#15628)
[pyupgrade] Ignore is_typeddict and TypedDict for deprecated-import (UP035) (#15800)
CLI
Fix formatter warning message for flake8-quotes option (#15788)
Implement tab autocomplete for ruff config (#15603)
Bug fixes
[flake8-comprehensions] Do not emit unnecessary-map diagnostic when lambda has different arity (C417) (#15802)
[flake8-comprehensions] Parenthesize sorted when needed for unnecessary-call-around-sorted (C413) (#15825)
[pyupgrade] Handle end-of-line comments for quoted-annotation (UP037) (#15824)
Documentation
Add missing config docstrings (#15803)
Add references to trio.run_process and anyio.run_process (#15761)
Use uv init --lib in tutorial (#15718)
Contributors
@AlexWaygood
@Garrett-R
@InSyncWithFoo
@JelleZijlstra
@Lee-W
@MichaReiser
@charliermarsh
@dcreager
@dhruvmanila
@dylwil3
... (truncated)
Changelog
Sourced from ruff's changelog.
0.9.4
Preview features
[airflow] Extend airflow context parameter check for BaseOperator.execute (AIR302) (#15713)
[airflow] Update AIR302 to check for deprecated context keys (#15144)
[flake8-bandit] Permit suspicious imports within stub files (S4) (#15822)
[pylint] Do not trigger PLR6201 on empty collections (#15732)
[refurb] Do not emit diagnostic when loop variables are used outside loop body (FURB122) (#15757)
[ruff] Add support for more re patterns (RUF055) (#15764)
[ruff] Check for shadowed map before suggesting fix (RUF058) (#15790)
[ruff] Do not emit diagnostic when all arguments to zip() are variadic (RUF058) (#15744)
[ruff] Parenthesize fix when argument spans multiple lines for unnecessary-round (RUF057) (#15703)
Rule changes
Preserve quote style in generated code (#15726, #15778, #15794)
[flake8-bugbear] Exempt NewType calls where the original type is immutable (B008) (#15765)
[pylint] Honor banned top-level imports by TID253 in PLC0415. (#15628)
[pyupgrade] Ignore is_typeddict and TypedDict for deprecated-import (UP035) (#15800)
CLI
Fix formatter warning message for flake8-quotes option (#15788)
Implement tab autocomplete for ruff config (#15603)
Bug fixes
[flake8-comprehensions] Do not emit unnecessary-map diagnostic when lambda has different arity (C417) (#15802)
[flake8-comprehensions] Parenthesize sorted when needed for unnecessary-call-around-sorted (C413) (#15825)
[pyupgrade] Handle end-of-line comments for quoted-annotation (UP037) (#15824)
Documentation
Add missing config docstrings (#15803)
Add references to trio.run_process and anyio.run_process (#15761)
Use uv init --lib in tutorial (#15718)
0.9.3
Preview features
[airflow] Argument fail_stop in DAG has been renamed as fail_fast (AIR302) (#15633)
[airflow] Extend AIR303 with more symbols (#15611)
[flake8-bandit] Report all references to suspicious functions (S3) (#15541)
[flake8-pytest-style] Do not emit diagnostics for empty for loops (PT012, PT031) (#15542)
[flake8-simplify] Avoid double negations (SIM103) (#15562)
[pyflakes] Fix infinite loop with unused local import in __init__.py (F401) (#15517)
[pylint] Do not report methods with only one EM101-compatible raise (PLR6301) (#15507)
[pylint] Implement redefined-slots-in-subclass (W0244) (#9640)
... (truncated)
Commits
854ab03 Bump version to 0.9.4 (#15831)
b0b8b06 Remove semicolon after TypeScript interface definition (#15827)
451f251 [red-knot] Clarify behavior when redeclaring base class attributes (#15826)
13cf3e6 [flake8-comprehensions] Parenthesize sorted when needed for `unnecessary-...
56f956a [pyupgrade] Handle end-of-line comments for quoted-annotation (UP037) (...
7a10a40 [flake8-bandit] Permit suspicious imports within stub files (S4) (#15822)
3125332 [red-knot] Format mdtest snippets with the latest version of black (#15819)
15d886a [red-knot] Consider all definitions after terminal statements unreachable (#1...
e1c9d10 [flake8-comprehensions] Do not emit unnecessary-map diagnostic when lambd...
23c9884 Preserve quotes in generated f-strings (#15794)
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.4. Release notes Sourced from ruff's releases. 0.9.4 Release Notes Preview features [airflow] Extend airflow context parameter check for BaseOperator.execute (AI...
X Description: Bumps ruff from 0.5.7 to 0.9.4. Release notes Sourced from ruff's releases. 0.9.4 Release Notes Preview features [airflow] Extend airflow context parameter check for BaseOperator.execute...
Opengraph URL: https://github.com/surgeapi/python-sdk/pull/10
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
| 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:1e74a380-a671-f437-be39-642410114d03 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B350:46358:2BD2C4C:39E2FC7:6B033776 |
| html-safe-nonce | 23668970cef36559124221cac1b7df9adccb9a86880858e80643cfeb5e556106 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzUwOjQ2MzU4OjJCRDJDNEM6MzlFMkZDNzo2QjAzMzc3NiIsInZpc2l0b3JfaWQiOiIxOTMzNDg2MzU0NTE2MzU5MDMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | dc6c456232b296be4287cb35140d13087fffa0be8723384e2f7a42b0ee099b8b |
| hovercard-subject-tag | pull_request:2312230999 |
| 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/10/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.4. Release notes Sourced from ruff's releases. 0.9.4 Release Notes Preview features [airflow] Extend airflow context parameter check for BaseOperator.execute (AI... |
| 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