Title: Bump ruff from 0.5.7 to 0.9.3 by dependabot[bot] · Pull Request #9 · surgeapi/python-sdk · GitHub
Open Graph Title: Bump ruff from 0.5.7 to 0.9.3 by dependabot[bot] · Pull Request #9 · surgeapi/python-sdk
X Title: Bump ruff from 0.5.7 to 0.9.3 by dependabot[bot] · Pull Request #9 · surgeapi/python-sdk
Description: Bumps ruff from 0.5.7 to 0.9.3.
Release notes
Sourced from ruff's releases.
0.9.3
Release Notes
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)
[pyupgrade] Add rules to use PEP 695 generics in classes and functions (UP046, UP047) (#15565, #15659)
[refurb] Implement for-loop-writes (FURB122) (#10630)
[ruff] Implement needless-else clause (RUF047) (#15051)
[ruff] Implement starmap-zip (RUF058) (#15483)
Rule changes
[flake8-bugbear] Do not raise error if keyword argument is present and target-python version is less or equals than 3.9 (B903) (#15549)
[flake8-comprehensions] strip parentheses around generators in unnecessary-generator-set (C401) (#15553)
[flake8-pytest-style] Rewrite references to .exception (PT027) (#15680)
[flake8-simplify] Mark fixes as unsafe (SIM201, SIM202) (#15626)
[flake8-type-checking] Fix some safe fixes being labeled unsafe (TC006,TC008) (#15638)
[isort] Omit trailing whitespace in unsorted-imports (I001) (#15518)
[pydoclint] Allow ignoring one line docstrings for DOC rules (#13302)
[pyflakes] Apply redefinition fixes by source code order (F811) (#15575)
[pyflakes] Avoid removing too many imports in redefined-while-unused (F811) (#15585)
[pyflakes] Group redefinition fixes by source statement (F811) (#15574)
[pylint] Include name of base class in message for redefined-slots-in-subclass (W0244) (#15559)
[ruff] Update fix for RUF055 to use var == value (#15605)
Formatter
Fix bracket spacing for single-element tuples in f-string expressions (#15537)
Fix unstable f-string formatting for expressions containing a trailing comma (#15545)
Performance
Avoid quadratic membership check in import fixes (#15576)
Server
Allow unsafe-fixes settings for code actions (#15666)
Bug fixes
[flake8-bandit] Add missing single-line/dotall regex flag (S608) (#15654)
[flake8-import-conventions] Fix infinite loop between ICN001 and I002 (ICN001) (#15480)
... (truncated)
Changelog
Sourced from ruff's changelog.
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)
[pyupgrade] Add rules to use PEP 695 generics in classes and functions (UP046, UP047) (#15565, #15659)
[refurb] Implement for-loop-writes (FURB122) (#10630)
[ruff] Implement needless-else clause (RUF047) (#15051)
[ruff] Implement starmap-zip (RUF058) (#15483)
Rule changes
[flake8-bugbear] Do not raise error if keyword argument is present and target-python version is less or equals than 3.9 (B903) (#15549)
[flake8-comprehensions] strip parentheses around generators in unnecessary-generator-set (C401) (#15553)
[flake8-pytest-style] Rewrite references to .exception (PT027) (#15680)
[flake8-simplify] Mark fixes as unsafe (SIM201, SIM202) (#15626)
[flake8-type-checking] Fix some safe fixes being labeled unsafe (TC006,TC008) (#15638)
[isort] Omit trailing whitespace in unsorted-imports (I001) (#15518)
[pydoclint] Allow ignoring one line docstrings for DOC rules (#13302)
[pyflakes] Apply redefinition fixes by source code order (F811) (#15575)
[pyflakes] Avoid removing too many imports in redefined-while-unused (F811) (#15585)
[pyflakes] Group redefinition fixes by source statement (F811) (#15574)
[pylint] Include name of base class in message for redefined-slots-in-subclass (W0244) (#15559)
[ruff] Update fix for RUF055 to use var == value (#15605)
Formatter
Fix bracket spacing for single-element tuples in f-string expressions (#15537)
Fix unstable f-string formatting for expressions containing a trailing comma (#15545)
Performance
Avoid quadratic membership check in import fixes (#15576)
Server
Allow unsafe-fixes settings for code actions (#15666)
Bug fixes
[flake8-bandit] Add missing single-line/dotall regex flag (S608) (#15654)
[flake8-import-conventions] Fix infinite loop between ICN001 and I002 (ICN001) (#15480)
[flake8-simplify] Do not emit diagnostics for expressions inside string type annotations (SIM222, SIM223) (#15405)
... (truncated)
Commits
9058937 Fix grep for version number in docker build (#15699)
b5ffb40 Bump version to 0.9.3 (#15698)
cffd186 Preserve raw string prefix and escapes (#15694)
569060f [flake8-pytest-style] Rewrite references to .exception (PT027) (#15680)
15394a8 [red-knot] MDTests: Do not depend on precise public-symbol type inference (#1...
fc2ebea [red-knot] Make infer.rs unit tests independent of public symbol inference ...
43160b4 Tidy knot CLI tests (#15685)
0173738 [red-knot] Port comprehension tests to Markdown (#15688)
05ea77b Create Unknown rule diagnostics with a source range (#15648)
1e790d3 [red-knot] Port 'deferred annotations' unit tests to Markdown (#15686)
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.3. Release notes Sourced from ruff's releases. 0.9.3 Release Notes Preview features [airflow] Argument fail_stop in DAG has been renamed as fail_fast (AIR302) (#...
X Description: Bumps ruff from 0.5.7 to 0.9.3. Release notes Sourced from ruff's releases. 0.9.3 Release Notes Preview features [airflow] Argument fail_stop in DAG has been renamed as fail_fast (AIR302...
Opengraph URL: https://github.com/surgeapi/python-sdk/pull/9
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
| 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:43e4768a-0d8a-fdf6-7cc9-e888c316cc45 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D792:2526B:17EEE6:1E3B6F:6B033A86 |
| html-safe-nonce | f939b9637256375123f7d34054ef8169772b85419772fd9bcf491a0372477d91 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzkyOjI1MjZCOjE3RUVFNjoxRTNCNkY6NkIwMzNBODYiLCJ2aXNpdG9yX2lkIjoiMTIxNDA0MjIzNjgwMzgyNDI2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b471938340f5789cdd9f8f041da2e02d94ef95d7a3adb3dc53a7aa708c95396b |
| hovercard-subject-tag | pull_request:2299497691 |
| 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/9/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.3. Release notes Sourced from ruff's releases. 0.9.3 Release Notes Preview features [airflow] Argument fail_stop in DAG has been renamed as fail_fast (AIR302) (#... |
| 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