From d25aacc057d9bc1a20d23ae659f6c85521f838c0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 16 Aug 2023 10:02:43 +0000 Subject: [PATCH] Update pre-commit hook adamchainz/blacken-docs to v1.16.0 (#61) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [adamchainz/blacken-docs](https://togithub.com/adamchainz/blacken-docs) | repository | minor | `1.15.0` -> `1.16.0` | 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](https://togithub.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes
adamchainz/blacken-docs (adamchainz/blacken-docs) ### [`v1.16.0`](https://togithub.com/adamchainz/blacken-docs/blob/HEAD/CHANGELOG.rst#1160-2023-08-16) [Compare Source](https://togithub.com/adamchainz/blacken-docs/compare/1.15.0...1.16.0) - Allow Markdown fence options. Thanks to initial work from Matthew Anderson in `PR #​246 `\__. - Expand Markdown detection to all Python language names from Pygments: `py`, `sage`, `python3`, `py3`, and `numpy`. - Preserve leading whitespace lines in reStructuredText code blocks. Thanks to Julianus Pfeuffer for the report in `Issue #​217 `\__. - Use exit code 2 to indicate errors from Black, whilst exit code 1 remains for “files have been formatted”. Thanks to Julianus Pfeuffer for the report in `Issue #​218 `\__. - Support passing the `--preview` option through to Black, to select the future style. - Remove `language_version` from `.pre-commit-hooks.yaml`. This change allows `default_language_version` in \`\`.pre-commit-config.yaml\` to take precedence. Thanks to Aneesh Agrawal in `PR #​258 `\__.
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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 this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/paddyroddy/python-template). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 03ce6e2..58faa78 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,7 +36,7 @@ repos: hooks: - id: black - repo: https://github.com/adamchainz/blacken-docs - rev: "1.15.0" + rev: "1.16.0" hooks: - id: blacken-docs additional_dependencies: