Title: Bump ruff from 0.5.7 to 0.8.6 by dependabot[bot] · Pull Request #4 · surgeapi/python-sdk · GitHub
Open Graph Title: Bump ruff from 0.5.7 to 0.8.6 by dependabot[bot] · Pull Request #4 · surgeapi/python-sdk
X Title: Bump ruff from 0.5.7 to 0.8.6 by dependabot[bot] · Pull Request #4 · surgeapi/python-sdk
Description: Bumps ruff from 0.5.7 to 0.8.6.
Release notes
Sourced from ruff's releases.
0.8.6
Release Notes
Preview features
[format]: Preserve multiline implicit concatenated strings in docstring positions (#15126)
[ruff] Add rule to detect empty literal in deque call (RUF025) (#15104)
[ruff] Avoid reporting when ndigits is possibly negative (RUF057) (#15234)
Rule changes
[flake8-todos] remove issue code length restriction (TD003) (#15175)
[pyflakes] Ignore errors in @no_type_check string annotations (F722, F821) (#15215)
CLI
Show errors for attempted fixes only when passed --verbose (#15237)
Bug fixes
[ruff] Avoid syntax error when removing int over multiple lines (RUF046) (#15230)
[pyupgrade] Revert "Add all PEP-585 names to UP006 rule" (#15250)
Contributors
@AlexWaygood
@InSyncWithFoo
@Lee-W
@MichaReiser
@augustelalande
@charliermarsh
@dcreager
@dylwil3
@mdbernard
@sharkdp
@w0nder1ng
Install ruff 0.8.6
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.8.6/ruff-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/astral-sh/ruff/releases/download/0.8.6/ruff-installer.ps1 | iex"
... (truncated)
Changelog
Sourced from ruff's changelog.
0.8.6
Preview features
[format]: Preserve multiline implicit concatenated strings in docstring positions (#15126)
[ruff] Add rule to detect empty literal in deque call (RUF025) (#15104)
[ruff] Avoid reporting when ndigits is possibly negative (RUF057) (#15234)
Rule changes
[flake8-todos] remove issue code length restriction (TD003) (#15175)
[pyflakes] Ignore errors in @no_type_check string annotations (F722, F821) (#15215)
CLI
Show errors for attempted fixes only when passed --verbose (#15237)
Bug fixes
[ruff] Avoid syntax error when removing int over multiple lines (RUF046) (#15230)
[pyupgrade] Revert "Add all PEP-585 names to UP006 rule" (#15250)
0.8.5
Preview features
[airflow] Extend names moved from core to provider (AIR303) (#15145, #15159, #15196, #15216)
[airflow] Extend rule to check class attributes, methods, arguments (AIR302) (#15054, #15083)
[fastapi] Update FAST002 to check keyword-only arguments (#15119)
[flake8-type-checking] Disable TC006 and TC007 in stub files (#15179)
[pylint] Detect nested methods correctly (PLW1641) (#15032)
[ruff] Detect more strict-integer expressions (RUF046) (#14833)
[ruff] Implement falsy-dict-get-fallback (RUF056) (#15160)
[ruff] Implement unnecessary-round (RUF057) (#14828)
Rule changes
Visit PEP 764 inline TypedDict keys as non-type-expressions (#15073)
[flake8-comprehensions] Skip C416 if comprehension contains unpacking (#14909)
[flake8-pie] Allow cast(SomeType, ...) (PIE796) (#15141)
[flake8-simplify] More precise inference for dictionaries (SIM300) (#15164)
[flake8-use-pathlib] Catch redundant joins in PTH201 and avoid syntax errors (#15177)
[pycodestyle] Preserve original value format (E731) (#15097)
[pydocstyle] Split on first whitespace character (D403) (#15082)
[pyupgrade] Add all PEP-585 names to UP006 rule (#5454)
Configuration
[flake8-type-checking] Improve flexibility of runtime-evaluated-decorators (#15204)
[pydocstyle] Add setting to ignore missing documentation for *args and **kwargs parameters (D417) (#15210)
... (truncated)
Commits
6b907c1 Ruff 0.8.6 (#15253)
f319531 Make unreachable a test rule for now (#15252)
e4d9fe0 Revert "Add all PEP-585 names to UP006 rule" (#15250)
baf0d66 Update salsa (#15243)
bde8ecd [red-knot] Remove unneeded branch in Type::is_equivalent_to() (#15242)
842f882 [ruff] Avoid reporting when ndigits is possibly negative (RUF057) (#15234)
75015b0 Attribute panics to the mdtests that cause them (#15241)
706d87f Show errors for attempted fixes only when passed --verbose (#15237)
0837cdd [RUF] Add rule to detect empty literal in deque call (RUF025) (#15104)
0dbfa8d TD003: remove issue code length restriction (#15175)
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.6. Release notes Sourced from ruff's releases. 0.8.6 Release Notes Preview features [format]: Preserve multiline implicit concatenated strings in docstring posit...
X Description: Bumps ruff from 0.5.7 to 0.8.6. Release notes Sourced from ruff's releases. 0.8.6 Release Notes Preview features [format]: Preserve multiline implicit concatenated strings in docstring p...
Opengraph URL: https://github.com/surgeapi/python-sdk/pull/4
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:6e50e2a3-696b-4a34-c97b-afb6ef067e10 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CAB4:2FB8C:1CD1B09:249A6C1:6B0328A7 |
| html-safe-nonce | 2b028c0d2065be1b1237fbf76ac2fbc0c20de980efdb3b5abb9ffb89cabe8da3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUI0OjJGQjhDOjFDRDFCMDk6MjQ5QTZDMTo2QjAzMjhBNyIsInZpc2l0b3JfaWQiOiI0OTE3MTE3NzcwNDU5NzE5ODQ3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bc93d3167ec916e6d5133584b18c2a08d8d2b76307fac3a97a862b5dd2a964ac |
| hovercard-subject-tag | pull_request:2261644426 |
| 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/4/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.6. Release notes Sourced from ruff's releases. 0.8.6 Release Notes Preview features [format]: Preserve multiline implicit concatenated strings in docstring posit... |
| 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