Microsoft/playwright-python (playwright)
### [`v1.41.0`](https://togithub.com/microsoft/playwright-python/releases/tag/v1.41.0)
[Compare Source](https://togithub.com/Microsoft/playwright-python/compare/v1.40.0...v1.41.0)
#### New APIs
- New method [page.unroute_all()](https://playwright.dev/python/docs/api/class-page#page-unroute-all) removes all routes registered by [page.route()](https://playwright.dev/python/docs/api/class-page#page-route) and [page.route_from_har()](https://playwright.dev/python/docs/api/class-page#page-route-from-har). Optionally allows to wait for ongoing routes to finish, or ignore any errors from them.
- New method [browserContext.unroute_all()](https://playwright.dev/python/docs/api/class-browsercontext#browser-context-unroute-all) removes all routes registered by [browserContext.route()](https://playwright.dev/python/docs/api/class-browsercontext#browser-context-route) and [browserContext.route_from_har()](https://playwright.dev/python/docs/api/class-browsercontext#browser-context-route-from-har). Optionally allows to wait for ongoing routes to finish, or ignore any errors from them.
- New option `style` in [page.screenshot()](https://playwright.dev/python/docs/api/class-page#page-screenshot) and [locator.screenshot()](https://playwright.dev/python/docs/api/class-locator#locator-screenshot) to add custom CSS to the page before taking a screenshot.
#### Browser Versions
- Chromium 121.0.6167.57
- Mozilla Firefox 121.0
- WebKit 17.4
This version was also tested against the following stable channels:
- Google Chrome 120
- Microsoft Edge 120
astral-sh/ruff (ruff)
### [`v0.1.14`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0114)
[Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.1.13...v0.1.14)
##### Preview features
- \[`flake8-bugbear`] Add fix for `duplicate-value` (`B033`) ([#9510](https://togithub.com/astral-sh/ruff/pull/9510))
- \[`flake8-simplify`] Implement `enumerate-for-loop` (`SIM113`) ([#7777](https://togithub.com/astral-sh/ruff/pull/7777))
- \[`pygrep_hooks`] Add fix for `deprecated-log-warn` (`PGH002`) ([#9519](https://togithub.com/astral-sh/ruff/pull/9519))
- \[`pylint`] Implement `import-private-name` (`C2701`) ([#5920](https://togithub.com/astral-sh/ruff/pull/5920))
- \[`refurb`] Implement `regex-flag-alias` with fix (`FURB167`) ([#9516](https://togithub.com/astral-sh/ruff/pull/9516))
- \[`ruff`] Add rule and fix to sort contents of `__all__` (`RUF022`) ([#9474](https://togithub.com/astral-sh/ruff/pull/9474))
- \[`tryceratops`] Add fix for `error-instead-of-exception` (`TRY400`) ([#9520](https://togithub.com/astral-sh/ruff/pull/9520))
##### Rule changes
- \[`flake8-pyi`] Fix `PYI047` false negatives on PEP-695 type aliases ([#9566](https://togithub.com/astral-sh/ruff/pull/9566))
- \[`flake8-pyi`] Fix `PYI049` false negatives on call-based `TypedDict`s ([#9567](https://togithub.com/astral-sh/ruff/pull/9567))
- \[`pylint`] Exclude `self` and `cls` when counting method arguments (`PLR0917`) ([#9563](https://togithub.com/astral-sh/ruff/pull/9563))
##### CLI
- `--show-settings` displays active settings in a far more readable format ([#9464](https://togithub.com/astral-sh/ruff/pull/9464))
- Add `--extension` support to the formatter ([#9483](https://togithub.com/astral-sh/ruff/pull/9483))
##### Configuration
- Ignore preview status for fixable and unfixable selectors ([#9538](https://togithub.com/astral-sh/ruff/pull/9538))
- \[`pycodestyle`] Use the configured tab size when expanding indents ([#9506](https://togithub.com/astral-sh/ruff/pull/9506))
##### Bug fixes
- Recursively visit deferred AST nodes ([#9541](https://togithub.com/astral-sh/ruff/pull/9541))
- Visit deferred lambdas before type definitions ([#9540](https://togithub.com/astral-sh/ruff/pull/9540))
- \[`flake8-simplify`] Avoid some more `enumerate-for-loop` false positives (`SIM113`) ([#9515](https://togithub.com/astral-sh/ruff/pull/9515))
- \[`pandas-vet`] Limit inplace diagnostics to methods that accept inplace ([#9495](https://togithub.com/astral-sh/ruff/pull/9495))
- \[`pylint`] Add the `__prepare__` method to the list of recognized dunder method ([#9529](https://togithub.com/astral-sh/ruff/pull/9529))
- \[`pylint`] Ignore unnecessary dunder calls within dunder definitions ([#9496](https://togithub.com/astral-sh/ruff/pull/9496))
- \[`refurb`] Avoid bailing when `reimplemented-operator` is called on function (`FURB118`) ([#9556](https://togithub.com/astral-sh/ruff/pull/9556))
- \[`ruff`] Avoid treating named expressions as static keys (`RUF011`) ([#9494](https://togithub.com/astral-sh/ruff/pull/9494))
##### Documentation
- Add instructions on using `noqa` with isort rules ([#9555](https://togithub.com/astral-sh/ruff/pull/9555))
- Documentation update for URL giving 'page not found' ([#9565](https://togithub.com/astral-sh/ruff/pull/9565))
- Fix admonition in dark mode ([#9502](https://togithub.com/astral-sh/ruff/pull/9502))
- Update contributing docs to use `cargo bench -p ruff_benchmark` ([#9535](https://togithub.com/astral-sh/ruff/pull/9535))
- Update emacs integration section to include `emacs-ruff-format` ([#9403](https://togithub.com/astral-sh/ruff/pull/9403))
- \[`flake8-blind-except`] Document exceptions to `blind-except` rule ([#9580](https://togithub.com/astral-sh/ruff/pull/9580))
Configuration
📅 Schedule: Branch creation - "every 1 hour on sunday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.40.0
->1.41.0
0.1.13
->0.1.14
Release Notes
Microsoft/playwright-python (playwright)
### [`v1.41.0`](https://togithub.com/microsoft/playwright-python/releases/tag/v1.41.0) [Compare Source](https://togithub.com/Microsoft/playwright-python/compare/v1.40.0...v1.41.0) #### New APIs - New method [page.unroute_all()](https://playwright.dev/python/docs/api/class-page#page-unroute-all) removes all routes registered by [page.route()](https://playwright.dev/python/docs/api/class-page#page-route) and [page.route_from_har()](https://playwright.dev/python/docs/api/class-page#page-route-from-har). Optionally allows to wait for ongoing routes to finish, or ignore any errors from them. - New method [browserContext.unroute_all()](https://playwright.dev/python/docs/api/class-browsercontext#browser-context-unroute-all) removes all routes registered by [browserContext.route()](https://playwright.dev/python/docs/api/class-browsercontext#browser-context-route) and [browserContext.route_from_har()](https://playwright.dev/python/docs/api/class-browsercontext#browser-context-route-from-har). Optionally allows to wait for ongoing routes to finish, or ignore any errors from them. - New option `style` in [page.screenshot()](https://playwright.dev/python/docs/api/class-page#page-screenshot) and [locator.screenshot()](https://playwright.dev/python/docs/api/class-locator#locator-screenshot) to add custom CSS to the page before taking a screenshot. #### Browser Versions - Chromium 121.0.6167.57 - Mozilla Firefox 121.0 - WebKit 17.4 This version was also tested against the following stable channels: - Google Chrome 120 - Microsoft Edge 120astral-sh/ruff (ruff)
### [`v0.1.14`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0114) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.1.13...v0.1.14) ##### Preview features - \[`flake8-bugbear`] Add fix for `duplicate-value` (`B033`) ([#9510](https://togithub.com/astral-sh/ruff/pull/9510)) - \[`flake8-simplify`] Implement `enumerate-for-loop` (`SIM113`) ([#7777](https://togithub.com/astral-sh/ruff/pull/7777)) - \[`pygrep_hooks`] Add fix for `deprecated-log-warn` (`PGH002`) ([#9519](https://togithub.com/astral-sh/ruff/pull/9519)) - \[`pylint`] Implement `import-private-name` (`C2701`) ([#5920](https://togithub.com/astral-sh/ruff/pull/5920)) - \[`refurb`] Implement `regex-flag-alias` with fix (`FURB167`) ([#9516](https://togithub.com/astral-sh/ruff/pull/9516)) - \[`ruff`] Add rule and fix to sort contents of `__all__` (`RUF022`) ([#9474](https://togithub.com/astral-sh/ruff/pull/9474)) - \[`tryceratops`] Add fix for `error-instead-of-exception` (`TRY400`) ([#9520](https://togithub.com/astral-sh/ruff/pull/9520)) ##### Rule changes - \[`flake8-pyi`] Fix `PYI047` false negatives on PEP-695 type aliases ([#9566](https://togithub.com/astral-sh/ruff/pull/9566)) - \[`flake8-pyi`] Fix `PYI049` false negatives on call-based `TypedDict`s ([#9567](https://togithub.com/astral-sh/ruff/pull/9567)) - \[`pylint`] Exclude `self` and `cls` when counting method arguments (`PLR0917`) ([#9563](https://togithub.com/astral-sh/ruff/pull/9563)) ##### CLI - `--show-settings` displays active settings in a far more readable format ([#9464](https://togithub.com/astral-sh/ruff/pull/9464)) - Add `--extension` support to the formatter ([#9483](https://togithub.com/astral-sh/ruff/pull/9483)) ##### Configuration - Ignore preview status for fixable and unfixable selectors ([#9538](https://togithub.com/astral-sh/ruff/pull/9538)) - \[`pycodestyle`] Use the configured tab size when expanding indents ([#9506](https://togithub.com/astral-sh/ruff/pull/9506)) ##### Bug fixes - Recursively visit deferred AST nodes ([#9541](https://togithub.com/astral-sh/ruff/pull/9541)) - Visit deferred lambdas before type definitions ([#9540](https://togithub.com/astral-sh/ruff/pull/9540)) - \[`flake8-simplify`] Avoid some more `enumerate-for-loop` false positives (`SIM113`) ([#9515](https://togithub.com/astral-sh/ruff/pull/9515)) - \[`pandas-vet`] Limit inplace diagnostics to methods that accept inplace ([#9495](https://togithub.com/astral-sh/ruff/pull/9495)) - \[`pylint`] Add the `__prepare__` method to the list of recognized dunder method ([#9529](https://togithub.com/astral-sh/ruff/pull/9529)) - \[`pylint`] Ignore unnecessary dunder calls within dunder definitions ([#9496](https://togithub.com/astral-sh/ruff/pull/9496)) - \[`refurb`] Avoid bailing when `reimplemented-operator` is called on function (`FURB118`) ([#9556](https://togithub.com/astral-sh/ruff/pull/9556)) - \[`ruff`] Avoid treating named expressions as static keys (`RUF011`) ([#9494](https://togithub.com/astral-sh/ruff/pull/9494)) ##### Documentation - Add instructions on using `noqa` with isort rules ([#9555](https://togithub.com/astral-sh/ruff/pull/9555)) - Documentation update for URL giving 'page not found' ([#9565](https://togithub.com/astral-sh/ruff/pull/9565)) - Fix admonition in dark mode ([#9502](https://togithub.com/astral-sh/ruff/pull/9502)) - Update contributing docs to use `cargo bench -p ruff_benchmark` ([#9535](https://togithub.com/astral-sh/ruff/pull/9535)) - Update emacs integration section to include `emacs-ruff-format` ([#9403](https://togithub.com/astral-sh/ruff/pull/9403)) - \[`flake8-blind-except`] Document exceptions to `blind-except` rule ([#9580](https://togithub.com/astral-sh/ruff/pull/9580))Configuration
📅 Schedule: Branch creation - "every 1 hour on sunday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.