Title: Bump ruff from 0.5.7 to 0.8.4 by dependabot[bot] · Pull Request #3 · surgeapi/python-sdk · GitHub
Open Graph Title: Bump ruff from 0.5.7 to 0.8.4 by dependabot[bot] · Pull Request #3 · surgeapi/python-sdk
X Title: Bump ruff from 0.5.7 to 0.8.4 by dependabot[bot] · Pull Request #3 · surgeapi/python-sdk
Description: Bumps ruff from 0.5.7 to 0.8.4.
Release notes
Sourced from ruff's releases.
0.8.4
Release Notes
Preview features
[airflow] Extend AIR302 with additional functions and classes (#15015)
[airflow] Implement moved-to-provider-in-3 for modules that has been moved to Airflow providers (AIR303) (#14764)
[flake8-use-pathlib] Extend check for invalid path suffix to include the case "." (PTH210) (#14902)
[perflint] Fix panic in PERF401 when list variable is after the for loop (#14971)
[perflint] Simplify finding the loop target in PERF401 (#15025)
[pylint] Preserve original value format (PLR6104) (#14978)
[ruff] Avoid false positives for RUF027 for typing context bindings (#15037)
[ruff] Check for ambiguous pattern passed to pytest.raises() (RUF043) (#14966)
Rule changes
[flake8-bandit] Check S105 for annotated assignment (#15059)
[flake8-pyi] More autofixes for redundant-none-literal (PYI061) (#14872)
[pydocstyle] Skip leading whitespace for D403 (#14963)
[ruff] Skip SQLModel base classes for mutable-class-default (RUF012) (#14949)
Bug
[perflint] Parenthesize walrus expressions in autofix for manual-list-comprehension (PERF401) (#15050)
Server
Check diagnostic refresh support from client capability which enables dynamic configuration for various editors (#15014)
Contributors
@AlexWaygood
@Daverball
@DimitriPapadopoulos
@InSyncWithFoo
@Lee-W
@MichaReiser
@TheBits
@cake-monotone
@carljm
@dcreager
@dhruvmanila
@dylwil3
@github-actions
@kiran-4444
@krishnan-chandra
@rchen152
@renovate
@sharkdp
@tarasmatsyk
@w0nder1ng
... (truncated)
Changelog
Sourced from ruff's changelog.
0.8.4
Preview features
[airflow] Extend AIR302 with additional functions and classes (#15015)
[airflow] Implement moved-to-provider-in-3 for modules that has been moved to Airflow providers (AIR303) (#14764)
[flake8-use-pathlib] Extend check for invalid path suffix to include the case "." (PTH210) (#14902)
[perflint] Fix panic in PERF401 when list variable is after the for loop (#14971)
[perflint] Simplify finding the loop target in PERF401 (#15025)
[pylint] Preserve original value format (PLR6104) (#14978)
[ruff] Avoid false positives for RUF027 for typing context bindings (#15037)
[ruff] Check for ambiguous pattern passed to pytest.raises() (RUF043) (#14966)
Rule changes
[flake8-bandit] Check S105 for annotated assignment (#15059)
[flake8-pyi] More autofixes for redundant-none-literal (PYI061) (#14872)
[pydocstyle] Skip leading whitespace for D403 (#14963)
[ruff] Skip SQLModel base classes for mutable-class-default (RUF012) (#14949)
Bug
[perflint] Parenthesize walrus expressions in autofix for manual-list-comprehension (PERF401) (#15050)
Server
Check diagnostic refresh support from client capability which enables dynamic configuration for various editors (#15014)
0.8.3
Preview features
Fix fstring formatting removing overlong implicit concatenated string in expression part (#14811)
[airflow] Add fix to remove deprecated keyword arguments (AIR302) (#14887)
[airflow]: Extend rule to include deprecated names for Airflow 3.0 (AIR302) (#14765 and #14804)
[flake8-bugbear] Improve error messages for except* (B025, B029, B030, B904) (#14815)
[flake8-bugbear] itertools.batched() without explicit strict (B911) (#14408)
[flake8-use-pathlib] Dotless suffix passed to Path.with_suffix() (PTH210) (#14779)
[pylint] Include parentheses and multiple comparators in check for boolean-chained-comparison (PLR1716) (#14781)
[ruff] Do not simplify round() calls (RUF046) (#14832)
[ruff] Don't emit used-dummy-variable on function parameters (RUF052) (#14818)
[ruff] Implement if-key-in-dict-del (RUF051) (#14553)
[ruff] Mark autofix for RUF052 as always unsafe (#14824)
[ruff] Teach autofix for used-dummy-variable about TypeVars etc. (RUF052) (#14819)
Rule changes
[flake8-bugbear] Offer unsafe autofix for no-explicit-stacklevel (B028) (#14829)
[flake8-pyi] Skip all type definitions in string-or-bytes-too-long (PYI053) (#14797)
[pyupgrade] Do not report when a UTF-8 comment is followed by a non-UTF-8 one (UP009) (#14728)
... (truncated)
Commits
3bb0dac Bump version to 0.8.4 (#15064)
40cba5d [red-knot] Cleanup various todo_type!() messages (#15063)
596d80c [perflint] Parenthesize walrus expressions in autofix for `manual-list-comp...
d8b9a36 Disable actionlint hook by default when running pre-commit locally (#15061)
85e71ba [flake8-bandit] Check S105 for annotated assignment (#15059)
2802cbd Don't special-case class instances in unary expression inference (#15045)
ed2bce6 [red-knot] Report invalid exceptions (#15042)
f0012df Fix typos in RUF043.py (#15044)
0fc4e8f Introduce InferContext (#14956)
ac81c72 [ruff] Ambiguous pattern passed to pytest.raises() (RUF043) (#14966)
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.8.4. Release notes Sourced from ruff's releases. 0.8.4 Release Notes Preview features [airflow] Extend AIR302 with additional functions and classes (#15015) [airfl...
X Description: Bumps ruff from 0.5.7 to 0.8.4. Release notes Sourced from ruff's releases. 0.8.4 Release Notes Preview features [airflow] Extend AIR302 with additional functions and classes (#15015) [a...
Opengraph URL: https://github.com/surgeapi/python-sdk/pull/3
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:43705282-8643-b440-a703-c7bd06a407d0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A87C:2C4C9:17E21EC:1F81E71:6B032075 |
| html-safe-nonce | 79e451d4bcd0eabbc5829df1dbbc02c4a0a3576f9ebe78726d21dc07780375d2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODdDOjJDNEM5OjE3RTIxRUM6MUY4MUU3MTo2QjAzMjA3NSIsInZpc2l0b3JfaWQiOiI1MTUzNzg2MjEzODE5NDI0ODg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 563fe3480f613c25aaa3bf66cb952df73f70c15b4dc1d9803ae63dadcf50509e |
| hovercard-subject-tag | pull_request:2257216220 |
| 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/3/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.8.4. Release notes Sourced from ruff's releases. 0.8.4 Release Notes Preview features [airflow] Extend AIR302 with additional functions and classes (#15015) [airfl... |
| 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