Title: Bump ruff from 0.5.7 to 0.9.7 by dependabot[bot] · Pull Request #13 · surgeapi/python-sdk · GitHub
Open Graph Title: Bump ruff from 0.5.7 to 0.9.7 by dependabot[bot] · Pull Request #13 · surgeapi/python-sdk
X Title: Bump ruff from 0.5.7 to 0.9.7 by dependabot[bot] · Pull Request #13 · surgeapi/python-sdk
Description: Bumps ruff from 0.5.7 to 0.9.7.
Release notes
Sourced from ruff's releases.
0.9.7
Release Notes
Preview features
Consider __new__ methods as special function type for enforcing class method or static method rules (#13305)
[airflow] Improve the internal logic to differentiate deprecated symbols (AIR303) (#16013)
[refurb] Manual timezone monkeypatching (FURB162) (#16113)
[ruff] Implicit class variable in dataclass (RUF045) (#14349)
[ruff] Skip singleton starred expressions for incorrectly-parenthesized-tuple-in-subscript (RUF031) (#16083)
[refurb] Check for subclasses includes subscript expressions (FURB189) (#16155)
Rule changes
[flake8-debugger] Also flag sys.breakpointhook and sys.__breakpointhook__ (T100) (#16191)
[pycodestyle] Exempt site.addsitedir(...) calls (E402) (#16251)
Formatter
Fix unstable formatting of trailing end-of-line comments of parenthesized attribute values (#16187)
Server
Fix handling of requests received after shutdown message (#16262)
Ignore source.organizeImports.ruff and source.fixAll.ruff code actions for a notebook cell (#16154)
Include document specific debug info for ruff.printDebugInformation (#16215)
Update server to return the debug info as string with ruff.printDebugInformation (#16214)
CLI
Warn on invalid noqa even when there are no diagnostics (#16178)
Better error messages while loading configuration extends (#15658)
Bug fixes
[flake8-comprehensions] Handle trailing comma in C403 fix (#16110)
[flake8-pyi] Avoid flagging custom-typevar-for-self on metaclass methods (PYI019) (#16141)
[pydocstyle] Handle arguments with the same names as sections (D417) (#16011)
[pylint] Correct ordering of arguments in fix for if-stmt-min-max (PLR1730) (#16080)
[pylint] Do not offer fix for raw strings (PLE251) (#16132)
[pyupgrade] Do not upgrade functional TypedDicts with private field names to the class-based syntax (UP013) (#16219)
[pyupgrade] Handle micro version numbers correctly (UP036) (#16091)
[pyupgrade] Unwrap unary expressions correctly (UP018) (#15919)
[refurb] Correctly handle lengths of literal strings in slice-to-remove-prefix-or-suffix (FURB188) (#16237)
[ruff] Skip RUF001 diagnostics when visiting string type definitions (#16122)
Documentation
Add FAQ entry for source.* code actions in Notebook (#16212)
Add SECURITY.md (#16224)
... (truncated)
Changelog
Sourced from ruff's changelog.
0.9.7
Preview features
Consider __new__ methods as special function type for enforcing class method or static method rules (#13305)
[airflow] Improve the internal logic to differentiate deprecated symbols (AIR303) (#16013)
[refurb] Manual timezone monkeypatching (FURB162) (#16113)
[ruff] Implicit class variable in dataclass (RUF045) (#14349)
[ruff] Skip singleton starred expressions for incorrectly-parenthesized-tuple-in-subscript (RUF031) (#16083)
[refurb] Check for subclasses includes subscript expressions (FURB189) (#16155)
Rule changes
[flake8-debugger] Also flag sys.breakpointhook and sys.__breakpointhook__ (T100) (#16191)
[pycodestyle] Exempt site.addsitedir(...) calls (E402) (#16251)
Formatter
Fix unstable formatting of trailing end-of-line comments of parenthesized attribute values (#16187)
Server
Fix handling of requests received after shutdown message (#16262)
Ignore source.organizeImports.ruff and source.fixAll.ruff code actions for a notebook cell (#16154)
Include document specific debug info for ruff.printDebugInformation (#16215)
Update server to return the debug info as string with ruff.printDebugInformation (#16214)
CLI
Warn on invalid noqa even when there are no diagnostics (#16178)
Better error messages while loading configuration extends (#15658)
Bug fixes
[flake8-comprehensions] Handle trailing comma in C403 fix (#16110)
[flake8-pyi] Avoid flagging custom-typevar-for-self on metaclass methods (PYI019) (#16141)
[pydocstyle] Handle arguments with the same names as sections (D417) (#16011)
[pylint] Correct ordering of arguments in fix for if-stmt-min-max (PLR1730) (#16080)
[pylint] Do not offer fix for raw strings (PLE251) (#16132)
[pyupgrade] Do not upgrade functional TypedDicts with private field names to the class-based syntax (UP013) (#16219)
[pyupgrade] Handle micro version numbers correctly (UP036) (#16091)
[pyupgrade] Unwrap unary expressions correctly (UP018) (#15919)
[refurb] Correctly handle lengths of literal strings in slice-to-remove-prefix-or-suffix (FURB188) (#16237)
[ruff] Skip RUF001 diagnostics when visiting string type definitions (#16122)
Documentation
Add FAQ entry for source.* code actions in Notebook (#16212)
Add SECURITY.md (#16224)
... (truncated)
Commits
54fccb3 Bump version to 0.9.7 (#16271)
8198668 [red-knot] MDTest: Use custom class names instead of builtins (#16269)
fc6b03c Handle requests received after shutdown message (#16262)
fb09d63 [red-knot] Prefix Type::call and dunder_call with try (#16261)
16d0625 Improve internal docs for various string-node APIs (#16256)
25920fe Rename ExprStringLiteral::as_unconcatenated_string() to `ExprStringLiteral:...
97d0659 Pass ParserOptions to the parser (#16220)
cfc6941 [red-knot] Resolve references in eager nested scopes eagerly (#16079)
f50849a Add text_len() methods to more *Prefix enums in ruff_python_ast (#16254)
55ea094 [red-knot] Allow any Ranged argument for report_lint and `report_diagnost...
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.7. Release notes Sourced from ruff's releases. 0.9.7 Release Notes Preview features Consider __new__ methods as special function type for enforcing class method ...
X Description: Bumps ruff from 0.5.7 to 0.9.7. Release notes Sourced from ruff's releases. 0.9.7 Release Notes Preview features Consider __new__ methods as special function type for enforcing class met...
Opengraph URL: https://github.com/surgeapi/python-sdk/pull/13
X: @github
Domain: github.com
IPv4 address: 140.82.114.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:64636f39-a5fa-adba-b5eb-c82bacd34fae |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8266:34DFBA:53F610:69E907:6B035E8E |
| html-safe-nonce | 575aa1e42a0927834afa4122f6967730a39801ea56c68c519ab8a0f72a56fce3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjY2OjM0REZCQTo1M0Y2MTA6NjlFOTA3OjZCMDM1RThFIiwidmlzaXRvcl9pZCI6IjE3ODQ4NzI2NDM0NjQ0ODY1NDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e5da19b634578dcd4c49f36dfcf99111f31e9de6012cbf1b041ab01bc00b8cf7 |
| hovercard-subject-tag | pull_request:2353186411 |
| 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/13/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.7. Release notes Sourced from ruff's releases. 0.9.7 Release Notes Preview features Consider __new__ methods as special function type for enforcing class method ... |
| 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