Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.
Release Notes
astral-sh/ruff-pre-commit (astral-sh/ruff-pre-commit)
### [`v0.3.4`](https://togithub.com/astral-sh/ruff-pre-commit/releases/tag/v0.3.4)
[Compare Source](https://togithub.com/astral-sh/ruff-pre-commit/compare/v0.3.3...v0.3.4)
See: https://github.com/astral-sh/ruff/releases/tag/v0.3.4
Python-Markdown/markdown (docs/MarkDown)
### [`v3.6`](https://togithub.com/Python-Markdown/markdown/releases/tag/3.6)
[Compare Source](https://togithub.com/Python-Markdown/markdown/compare/3.5.2...3.6)
##### Changed
##### Refactor TOC Sanitation
- All postprocessors are now run on heading content.
- Footnote references are now stripped from heading content. Fixes [#660](https://togithub.com/Python-Markdown/markdown/issues/660).
- A more robust `striptags` is provided to convert headings to plain text.
Unlike, the `markupsafe` implementation, HTML entities are not unescaped.
- The plain text `name`, rich `html`, and unescaped raw `data-toc-label` are
saved to `toc_tokens`, allowing users to access the full rich text content of
the headings directly from `toc_tokens`.
- The value of `data-toc-label` is sanitized separate from heading content
before being written to `name`. This fixes a bug which allowed markup through
in certain circumstances. To access the raw unsanitized data, retrieve the
value from `token['data-toc-label']` directly.
- An `html.unescape` call is made just prior to calling `slugify` so that
`slugify` only operates on Unicode characters. Note that `html.unescape` is
not run on `name`, `html`, or `data-toc-label`.
- The functions `get_name` and `stashedHTML2text` defined in the `toc` extension
are both **deprecated**. Instead, third party extensions should use some
combination of the new functions `run_postprocessors`, `render_inner_html` and
`striptags`.
##### Fixed
- Include `scripts/*.py` in the generated source tarballs ([#1430](https://togithub.com/Python-Markdown/markdown/issues/1430)).
- Ensure lines after heading in loose list are properly detabbed ([#1443](https://togithub.com/Python-Markdown/markdown/issues/1443)).
- Give smarty tree processor higher priority than toc ([#1440](https://togithub.com/Python-Markdown/markdown/issues/1440)).
- Permit carets (`^`) and square brackets (`]`) but explicitly exclude
backslashes (`\`) from abbreviations ([#1444](https://togithub.com/Python-Markdown/markdown/issues/1444)).
- In attribute lists (`attr_list`, `fenced_code`), quoted attribute values are
now allowed to contain curly braces (`}`) ([#1414](https://togithub.com/Python-Markdown/markdown/issues/1414)).
squidfunk/mkdocs-material (docs/mkdocs-material)
### [`v9.5.16`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.5.16): mkdocs-material-9.5.16
[Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.5.15...9.5.16)
- Updated Russian translations
- Improved error handling and reporting in social plugin
- Improved error handling and reporting in privacy plugin
- Fixed blog plugin not allowing to use time in format strings
- Fixed [#6983](https://togithub.com/squidfunk/mkdocs-material/issues/6983): Social plugin crashes because of Google Fonts API change
Thanks to [@kamilkrzyskow](https://togithub.com/kamilkrzyskow), [@Guts](https://togithub.com/Guts), [@szg-alex-payne](https://togithub.com/szg-alex-payne) and [@natakazakova](https://togithub.com/natakazakova) for their contributions
### [`v9.5.15`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.5.15): mkdocs-material-9.5.15
[Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.5.14...9.5.15)
- Reverted fix for transparent iframes (9.5.14)
- Fixed [#6929](https://togithub.com/squidfunk/mkdocs-material/issues/6929): Interference of social plugin and auto dark mode
- Fixed [#6938](https://togithub.com/squidfunk/mkdocs-material/issues/6938): Giscus shows dark background in light mode (9.5.14 regression)
### [`v9.5.14`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.5.14): mkdocs-material-9.5.14
[Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.5.13...9.5.14)
- Added support for hiding versions from selector when using mike
- Added init system to improve signal handling in Docker image
- Fixed edge cases in exclusion logic of info plugin
- Fixed inability to reset pipeline in search plugin
- Fixed syntax error in Finnish translations
- Fixed [#6917](https://togithub.com/squidfunk/mkdocs-material/issues/6917): UTF-8 encoding problems in blog plugin on Windows
- Fixed [#6889](https://togithub.com/squidfunk/mkdocs-material/issues/6889): Transparent iframes get background color
Thanks to [@kamilkrzyskow](https://togithub.com/kamilkrzyskow), [@yubiuser](https://togithub.com/yubiuser) and [@todeveni](https://togithub.com/todeveni) for their contributions
astral-sh/ruff (misc-lint/ruff)
### [`v0.3.4`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#034)
[Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.3.3...v0.3.4)
##### Preview features
- \[`flake8-simplify`] Detect implicit `else` cases in `needless-bool` (`SIM103`) ([#10414](https://togithub.com/astral-sh/ruff/pull/10414))
- \[`pylint`] Implement `nan-comparison` (`PLW0117`) ([#10401](https://togithub.com/astral-sh/ruff/pull/10401))
- \[`pylint`] Implement `nonlocal-and-global` (`E115`) ([#10407](https://togithub.com/astral-sh/ruff/pull/10407))
- \[`pylint`] Implement `singledispatchmethod-function` (`PLE5120`) ([#10428](https://togithub.com/astral-sh/ruff/pull/10428))
- \[`refurb`] Implement `list-reverse-copy` (`FURB187`) ([#10212](https://togithub.com/astral-sh/ruff/pull/10212))
##### Rule changes
- \[`flake8-pytest-style`] Add automatic fix for `pytest-parametrize-values-wrong-type` (`PT007`) ([#10461](https://togithub.com/astral-sh/ruff/pull/10461))
- \[`pycodestyle`] Allow SPDX license headers to exceed the line length (`E501`) ([#10481](https://togithub.com/astral-sh/ruff/pull/10481))
##### Formatter
- Fix unstable formatting for trailing subscript end-of-line comment ([#10492](https://togithub.com/astral-sh/ruff/pull/10492))
##### Bug fixes
- Avoid code comment detection in PEP 723 script tags ([#10464](https://togithub.com/astral-sh/ruff/pull/10464))
- Avoid incorrect tuple transformation in single-element case (`C409`) ([#10491](https://togithub.com/astral-sh/ruff/pull/10491))
- Bug fix: Prevent fully defined links [`name`](link) from being reformatted ([#10442](https://togithub.com/astral-sh/ruff/pull/10442))
- Consider raw source code for `W605` ([#10480](https://togithub.com/astral-sh/ruff/pull/10480))
- Docs: Link inline settings when not part of options section ([#10499](https://togithub.com/astral-sh/ruff/pull/10499))
- Don't treat annotations as redefinitions in `.pyi` files ([#10512](https://togithub.com/astral-sh/ruff/pull/10512))
- Fix `E231` bug: Inconsistent catch compared to pycodestyle, such as when dict nested in list ([#10469](https://togithub.com/astral-sh/ruff/pull/10469))
- Fix pylint upstream categories not showing in docs ([#10441](https://togithub.com/astral-sh/ruff/pull/10441))
- Add missing `Options` references to blank line docs ([#10498](https://togithub.com/astral-sh/ruff/pull/10498))
- 'Revert "F821: Fix false negatives in .py files when `from __future__ import annotations` is active ([#10362](https://togithub.com/astral-sh/ruff/issues/10362))"' ([#10513](https://togithub.com/astral-sh/ruff/pull/10513))
- Apply NFKC normalization to unicode identifiers in the lexer ([#10412](https://togithub.com/astral-sh/ruff/pull/10412))
- Avoid failures due to non-deterministic binding ordering ([#10478](https://togithub.com/astral-sh/ruff/pull/10478))
- \[`flake8-bugbear`] Allow tuples of exceptions (`B030`) ([#10437](https://togithub.com/astral-sh/ruff/pull/10437))
- \[`flake8-quotes`] Avoid syntax errors due to invalid quotes (`Q000, Q002`) ([#10199](https://togithub.com/astral-sh/ruff/pull/10199))
pytest-dev/pytest-asyncio (pytest/pytest-asyncio)
### [`v0.23.6`](https://togithub.com/pytest-dev/pytest-asyncio/compare/v0.23.5.post1...v0.23.6)
[Compare Source](https://togithub.com/pytest-dev/pytest-asyncio/compare/v0.23.5.post1...v0.23.6)
pytest-dev/pytest-mock (pytest/pytest-mock)
### [`v3.14.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3140-2024-03-21)
[Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.13.0...v3.14.0)
- `#415 `\_: `MockType` and `AsyncMockType` can be imported from `pytest_mock` for type annotation purposes.
- `#420 `\_: Fixed a regression which would cause `mocker.patch.object` to not being properly cleared between tests.
### [`v3.13.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3130-2024-03-21)
[Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.12.0...v3.13.0)
- `#417 `\_: `spy` now has `spy_return_list`, which is a list containing all the values returned by the spied function.
- `pytest-mock` now requires `pytest>=6.2.5`.
- `#410 `*: pytest-mock's `setup.py` file is removed.
If you relied on this file, e.g. to install pytest using `setup.py install`,
please see `Why you shouldn't invoke setup.py directly `* for alternatives.
Configuration
📅 Schedule: Branch creation - "every 3 months on the first day of the month" (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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] 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:
v0.3.3
->v0.3.4
==3.5.2
->==3.6
==9.5.13
->==9.5.16
==0.3.3
->==0.3.4
==0.23.5.post1
->==0.23.6
==3.12.0
->==3.14.0
Note: The
pre-commit
manager in Renovate is not supported by thepre-commit
maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.Release Notes
astral-sh/ruff-pre-commit (astral-sh/ruff-pre-commit)
### [`v0.3.4`](https://togithub.com/astral-sh/ruff-pre-commit/releases/tag/v0.3.4) [Compare Source](https://togithub.com/astral-sh/ruff-pre-commit/compare/v0.3.3...v0.3.4) See: https://github.com/astral-sh/ruff/releases/tag/v0.3.4Python-Markdown/markdown (docs/MarkDown)
### [`v3.6`](https://togithub.com/Python-Markdown/markdown/releases/tag/3.6) [Compare Source](https://togithub.com/Python-Markdown/markdown/compare/3.5.2...3.6) ##### Changed ##### Refactor TOC Sanitation - All postprocessors are now run on heading content. - Footnote references are now stripped from heading content. Fixes [#660](https://togithub.com/Python-Markdown/markdown/issues/660). - A more robust `striptags` is provided to convert headings to plain text. Unlike, the `markupsafe` implementation, HTML entities are not unescaped. - The plain text `name`, rich `html`, and unescaped raw `data-toc-label` are saved to `toc_tokens`, allowing users to access the full rich text content of the headings directly from `toc_tokens`. - The value of `data-toc-label` is sanitized separate from heading content before being written to `name`. This fixes a bug which allowed markup through in certain circumstances. To access the raw unsanitized data, retrieve the value from `token['data-toc-label']` directly. - An `html.unescape` call is made just prior to calling `slugify` so that `slugify` only operates on Unicode characters. Note that `html.unescape` is not run on `name`, `html`, or `data-toc-label`. - The functions `get_name` and `stashedHTML2text` defined in the `toc` extension are both **deprecated**. Instead, third party extensions should use some combination of the new functions `run_postprocessors`, `render_inner_html` and `striptags`. ##### Fixed - Include `scripts/*.py` in the generated source tarballs ([#1430](https://togithub.com/Python-Markdown/markdown/issues/1430)). - Ensure lines after heading in loose list are properly detabbed ([#1443](https://togithub.com/Python-Markdown/markdown/issues/1443)). - Give smarty tree processor higher priority than toc ([#1440](https://togithub.com/Python-Markdown/markdown/issues/1440)). - Permit carets (`^`) and square brackets (`]`) but explicitly exclude backslashes (`\`) from abbreviations ([#1444](https://togithub.com/Python-Markdown/markdown/issues/1444)). - In attribute lists (`attr_list`, `fenced_code`), quoted attribute values are now allowed to contain curly braces (`}`) ([#1414](https://togithub.com/Python-Markdown/markdown/issues/1414)).squidfunk/mkdocs-material (docs/mkdocs-material)
### [`v9.5.16`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.5.16): mkdocs-material-9.5.16 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.5.15...9.5.16) - Updated Russian translations - Improved error handling and reporting in social plugin - Improved error handling and reporting in privacy plugin - Fixed blog plugin not allowing to use time in format strings - Fixed [#6983](https://togithub.com/squidfunk/mkdocs-material/issues/6983): Social plugin crashes because of Google Fonts API change Thanks to [@kamilkrzyskow](https://togithub.com/kamilkrzyskow), [@Guts](https://togithub.com/Guts), [@szg-alex-payne](https://togithub.com/szg-alex-payne) and [@natakazakova](https://togithub.com/natakazakova) for their contributions ### [`v9.5.15`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.5.15): mkdocs-material-9.5.15 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.5.14...9.5.15) - Reverted fix for transparent iframes (9.5.14) - Fixed [#6929](https://togithub.com/squidfunk/mkdocs-material/issues/6929): Interference of social plugin and auto dark mode - Fixed [#6938](https://togithub.com/squidfunk/mkdocs-material/issues/6938): Giscus shows dark background in light mode (9.5.14 regression) ### [`v9.5.14`](https://togithub.com/squidfunk/mkdocs-material/releases/tag/9.5.14): mkdocs-material-9.5.14 [Compare Source](https://togithub.com/squidfunk/mkdocs-material/compare/9.5.13...9.5.14) - Added support for hiding versions from selector when using mike - Added init system to improve signal handling in Docker image - Fixed edge cases in exclusion logic of info plugin - Fixed inability to reset pipeline in search plugin - Fixed syntax error in Finnish translations - Fixed [#6917](https://togithub.com/squidfunk/mkdocs-material/issues/6917): UTF-8 encoding problems in blog plugin on Windows - Fixed [#6889](https://togithub.com/squidfunk/mkdocs-material/issues/6889): Transparent iframes get background color Thanks to [@kamilkrzyskow](https://togithub.com/kamilkrzyskow), [@yubiuser](https://togithub.com/yubiuser) and [@todeveni](https://togithub.com/todeveni) for their contributionsastral-sh/ruff (misc-lint/ruff)
### [`v0.3.4`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#034) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.3.3...v0.3.4) ##### Preview features - \[`flake8-simplify`] Detect implicit `else` cases in `needless-bool` (`SIM103`) ([#10414](https://togithub.com/astral-sh/ruff/pull/10414)) - \[`pylint`] Implement `nan-comparison` (`PLW0117`) ([#10401](https://togithub.com/astral-sh/ruff/pull/10401)) - \[`pylint`] Implement `nonlocal-and-global` (`E115`) ([#10407](https://togithub.com/astral-sh/ruff/pull/10407)) - \[`pylint`] Implement `singledispatchmethod-function` (`PLE5120`) ([#10428](https://togithub.com/astral-sh/ruff/pull/10428)) - \[`refurb`] Implement `list-reverse-copy` (`FURB187`) ([#10212](https://togithub.com/astral-sh/ruff/pull/10212)) ##### Rule changes - \[`flake8-pytest-style`] Add automatic fix for `pytest-parametrize-values-wrong-type` (`PT007`) ([#10461](https://togithub.com/astral-sh/ruff/pull/10461)) - \[`pycodestyle`] Allow SPDX license headers to exceed the line length (`E501`) ([#10481](https://togithub.com/astral-sh/ruff/pull/10481)) ##### Formatter - Fix unstable formatting for trailing subscript end-of-line comment ([#10492](https://togithub.com/astral-sh/ruff/pull/10492)) ##### Bug fixes - Avoid code comment detection in PEP 723 script tags ([#10464](https://togithub.com/astral-sh/ruff/pull/10464)) - Avoid incorrect tuple transformation in single-element case (`C409`) ([#10491](https://togithub.com/astral-sh/ruff/pull/10491)) - Bug fix: Prevent fully defined links [`name`](link) from being reformatted ([#10442](https://togithub.com/astral-sh/ruff/pull/10442)) - Consider raw source code for `W605` ([#10480](https://togithub.com/astral-sh/ruff/pull/10480)) - Docs: Link inline settings when not part of options section ([#10499](https://togithub.com/astral-sh/ruff/pull/10499)) - Don't treat annotations as redefinitions in `.pyi` files ([#10512](https://togithub.com/astral-sh/ruff/pull/10512)) - Fix `E231` bug: Inconsistent catch compared to pycodestyle, such as when dict nested in list ([#10469](https://togithub.com/astral-sh/ruff/pull/10469)) - Fix pylint upstream categories not showing in docs ([#10441](https://togithub.com/astral-sh/ruff/pull/10441)) - Add missing `Options` references to blank line docs ([#10498](https://togithub.com/astral-sh/ruff/pull/10498)) - 'Revert "F821: Fix false negatives in .py files when `from __future__ import annotations` is active ([#10362](https://togithub.com/astral-sh/ruff/issues/10362))"' ([#10513](https://togithub.com/astral-sh/ruff/pull/10513)) - Apply NFKC normalization to unicode identifiers in the lexer ([#10412](https://togithub.com/astral-sh/ruff/pull/10412)) - Avoid failures due to non-deterministic binding ordering ([#10478](https://togithub.com/astral-sh/ruff/pull/10478)) - \[`flake8-bugbear`] Allow tuples of exceptions (`B030`) ([#10437](https://togithub.com/astral-sh/ruff/pull/10437)) - \[`flake8-quotes`] Avoid syntax errors due to invalid quotes (`Q000, Q002`) ([#10199](https://togithub.com/astral-sh/ruff/pull/10199))pytest-dev/pytest-asyncio (pytest/pytest-asyncio)
### [`v0.23.6`](https://togithub.com/pytest-dev/pytest-asyncio/compare/v0.23.5.post1...v0.23.6) [Compare Source](https://togithub.com/pytest-dev/pytest-asyncio/compare/v0.23.5.post1...v0.23.6)pytest-dev/pytest-mock (pytest/pytest-mock)
### [`v3.14.0`](https://togithub.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3140-2024-03-21) [Compare Source](https://togithub.com/pytest-dev/pytest-mock/compare/v3.13.0...v3.14.0) - `#415Configuration
📅 Schedule: Branch creation - "every 3 months on the first day of the month" (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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.