Title: Bump ruff from 0.5.7 to 0.9.6 by dependabot[bot] · Pull Request #12 · surgeapi/python-sdk · GitHub
Open Graph Title: Bump ruff from 0.5.7 to 0.9.6 by dependabot[bot] · Pull Request #12 · surgeapi/python-sdk
X Title: Bump ruff from 0.5.7 to 0.9.6 by dependabot[bot] · Pull Request #12 · surgeapi/python-sdk
Description: Bumps ruff from 0.5.7 to 0.9.6.
Release notes
Sourced from ruff's releases.
0.9.6
Release Notes
Preview features
[airflow] Add external_task.{ExternalTaskMarker, ExternalTaskSensor} for AIR302 (#16014)
[flake8-builtins] Make strict module name comparison optional (A005) (#15951)
[flake8-pyi] Extend fix to Python <= 3.9 for redundant-none-literal (PYI061) (#16044)
[pylint] Also report when the object isn't a literal (PLE1310) (#15985)
[ruff] Implement indented-form-feed (RUF054) (#16049)
[ruff] Skip type definitions for missing-f-string-syntax (RUF027) (#16054)
Rule changes
[flake8-annotations] Correct syntax for typing.Union in suggested return type fixes for ANN20x rules (#16025)
[flake8-builtins] Match upstream module name comparison (A005) (#16006)
[flake8-comprehensions] Detect overshadowed list/set/dict, ignore variadics and named expressions (C417) (#15955)
[flake8-pie] Remove following comma correctly when the unpacked dictionary is empty (PIE800) (#16008)
[flake8-simplify] Only trigger SIM401 on known dictionaries (#15995)
[pylint] Do not report calls when object type and argument type mismatch, remove custom escape handling logic (PLE1310) (#15984)
[pyupgrade] Comments within parenthesized value ranges should not affect applicability (UP040) (#16027)
[pyupgrade] Don't introduce invalid syntax when upgrading old-style type aliases with parenthesized multiline values (UP040) (#16026)
[pyupgrade] Ensure we do not rename two type parameters to the same name (UP049) (#16038)
[pyupgrade] [ruff] Don't apply renamings if the new name is shadowed in a scope of one of the references to the binding (UP049, RUF052) (#16032)
[ruff] Update RUF009 to behave similar to B008 and ignore attributes with immutable types (#16048)
Server
Root exclusions in the server to project root (#16043)
Bug fixes
[flake8-datetime] Ignore .replace() calls while looking for .astimezone (#16050)
[flake8-type-checking] Avoid TC004 false positive where the runtime definition is provided by __getattr__ (#16052)
Documentation
Improve ruff-lsp migration document (#16072)
Undeprecate ruff.nativeServer (#16039)
Contributors
@AlexWaygood
@Daverball
@InSyncWithFoo
@Lee-W
@MichaReiser
@carlosgmartin
@dhruvmanila
@dylwil3
@junhsonjb
... (truncated)
Changelog
Sourced from ruff's changelog.
0.9.6
Preview features
[airflow] Add external_task.{ExternalTaskMarker, ExternalTaskSensor} for AIR302 (#16014)
[flake8-builtins] Make strict module name comparison optional (A005) (#15951)
[flake8-pyi] Extend fix to Python <= 3.9 for redundant-none-literal (PYI061) (#16044)
[pylint] Also report when the object isn't a literal (PLE1310) (#15985)
[ruff] Implement indented-form-feed (RUF054) (#16049)
[ruff] Skip type definitions for missing-f-string-syntax (RUF027) (#16054)
Rule changes
[flake8-annotations] Correct syntax for typing.Union in suggested return type fixes for ANN20x rules (#16025)
[flake8-builtins] Match upstream module name comparison (A005) (#16006)
[flake8-comprehensions] Detect overshadowed list/set/dict, ignore variadics and named expressions (C417) (#15955)
[flake8-pie] Remove following comma correctly when the unpacked dictionary is empty (PIE800) (#16008)
[flake8-simplify] Only trigger SIM401 on known dictionaries (#15995)
[pylint] Do not report calls when object type and argument type mismatch, remove custom escape handling logic (PLE1310) (#15984)
[pyupgrade] Comments within parenthesized value ranges should not affect applicability (UP040) (#16027)
[pyupgrade] Don't introduce invalid syntax when upgrading old-style type aliases with parenthesized multiline values (UP040) (#16026)
[pyupgrade] Ensure we do not rename two type parameters to the same name (UP049) (#16038)
[pyupgrade] [ruff] Don't apply renamings if the new name is shadowed in a scope of one of the references to the binding (UP049, RUF052) (#16032)
[ruff] Update RUF009 to behave similar to B008 and ignore attributes with immutable types (#16048)
Server
Root exclusions in the server to project root (#16043)
Bug fixes
[flake8-datetime] Ignore .replace() calls while looking for .astimezone (#16050)
[flake8-type-checking] Avoid TC004 false positive where the runtime definition is provided by __getattr__ (#16052)
Documentation
Improve ruff-lsp migration document (#16072)
Undeprecate ruff.nativeServer (#16039)
0.9.5
Preview features
Recognize all symbols named TYPE_CHECKING for in_type_checking_block (#15719)
[flake8-comprehensions] Handle builtins at top of file correctly for unnecessary-dict-comprehension-for-iterable (C420) (#15837)
[flake8-logging] .exception() and exc_info= outside exception handlers (LOG004, LOG014) (#15799)
[flake8-pyi] Fix incorrect behaviour of custom-typevar-return-type preview-mode autofix if typing was already imported (PYI019) (#15853)
[flake8-pyi] Fix more complex cases (PYI019) (#15821)
[flake8-pyi] Make PYI019 autofixable for .py files in preview mode as well as stubs (#15889)
[flake8-pyi] Remove type parameter correctly when it is the last (PYI019) (#15854)
... (truncated)
Commits
524cf6e Bump version to 0.9.6 (#16074)
857cf0d Revert tailwindcss v4 update (#16075)
0f1eb1e Improve migration document (#16072)
b69eb90 Fix reference definition labels for backtick-quoted shortcut links (#16035)
d2f661f RUF009 should behave similar to B008 and ignore attributes with immutable typ...
07cf885 [pylint] Also report when the object isn't a literal (PLE1310) (#15985)
c089896 Update Rust crate rustc-hash to v2.1.1 (#16060)
869a954 Root exclusions in the server to project root (#16043)
cc0a5dd Directly include Settings struct for the server (#16042)
b54e390 Update Rust crate clap to v4.5.28 (#16059)
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.6. Release notes Sourced from ruff's releases. 0.9.6 Release Notes Preview features [airflow] Add external_task.{ExternalTaskMarker, ExternalTaskSensor} for AIR3...
X Description: Bumps ruff from 0.5.7 to 0.9.6. Release notes Sourced from ruff's releases. 0.9.6 Release Notes Preview features [airflow] Add external_task.{ExternalTaskMarker, ExternalTaskSensor} for ...
Opengraph URL: https://github.com/surgeapi/python-sdk/pull/12
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:c1f3895e-acb9-bbbd-8b86-6a75d819f103 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 86DA:272C96:B007B1:E2143F:6B0371C2 |
| html-safe-nonce | 23dc3b78fd933def9bb7ffe19770920411f141e0657fc1b005f96931926c7fd3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkRBOjI3MkM5NjpCMDA3QjE6RTIxNDNGOjZCMDM3MUMyIiwidmlzaXRvcl9pZCI6IjM4NTczNzEwODQ1MDg4NTI2NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9e4a749c7a5562998af039dbee4598a1ccc5845c2a2ceacfb42a411f37f1bb3f |
| hovercard-subject-tag | pull_request:2339218741 |
| 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/12/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.6. Release notes Sourced from ruff's releases. 0.9.6 Release Notes Preview features [airflow] Add external_task.{ExternalTaskMarker, ExternalTaskSensor} for AIR3... |
| 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