From 52b206147a6a50b576d04eac53d37a815c3a4642 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Jan 2024 20:27:39 +0000 Subject: [PATCH 1/7] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: fbe77be689d01fea5a7b64d3c495d4d1ed646852 → 1d42195ebc67a509991eaf68c2353e0181003a95](https://github.com/astral-sh/ruff-pre-commit/compare/fbe77be689d01fea5a7b64d3c495d4d1ed646852...1d42195ebc67a509991eaf68c2353e0181003a95) - [github.com/pre-commit/mirrors-prettier: ffb6a759a979008c0e6dff86e39f4745a2d9eac4 → f12edd9c7be1c20cfa42420fd0e6df71e42b51ea](https://github.com/pre-commit/mirrors-prettier/compare/ffb6a759a979008c0e6dff86e39f4745a2d9eac4...f12edd9c7be1c20cfa42420fd0e6df71e42b51ea) - [github.com/astral-sh/ruff-pre-commit: fbe77be689d01fea5a7b64d3c495d4d1ed646852 → 1d42195ebc67a509991eaf68c2353e0181003a95](https://github.com/astral-sh/ruff-pre-commit/compare/fbe77be689d01fea5a7b64d3c495d4d1ed646852...1d42195ebc67a509991eaf68c2353e0181003a95) - [github.com/DavidAnson/markdownlint-cli2: 8524909c7a86f78a6b915ffafea220a6f3979ba1 → 82c791e94c2e2ab2119437d61c722c8e0c20d6c9](https://github.com/DavidAnson/markdownlint-cli2/compare/8524909c7a86f78a6b915ffafea220a6f3979ba1...82c791e94c2e2ab2119437d61c722c8e0c20d6c9) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 30939747..7baf0eb7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,7 +42,7 @@ repos: # ruff - python linter with fixing ability - repo: https://github.com/astral-sh/ruff-pre-commit - rev: fbe77be689d01fea5a7b64d3c495d4d1ed646852 # frozen: v0.1.11 + rev: 1d42195ebc67a509991eaf68c2353e0181003a95 # frozen: v0.1.14 hooks: - id: ruff name: ruff (fix) @@ -68,7 +68,7 @@ repos: # prettier - multi formatter - repo: https://github.com/pre-commit/mirrors-prettier - rev: ffb6a759a979008c0e6dff86e39f4745a2d9eac4 # frozen: v3.1.0 + rev: f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8 hooks: - id: prettier @@ -140,7 +140,7 @@ repos: # ruff - python linter with fixing ability - repo: https://github.com/astral-sh/ruff-pre-commit - rev: fbe77be689d01fea5a7b64d3c495d4d1ed646852 # frozen: v0.1.11 + rev: 1d42195ebc67a509991eaf68c2353e0181003a95 # frozen: v0.1.14 hooks: - id: ruff name: ruff (lint) @@ -209,7 +209,7 @@ repos: # markdownlint - md file checker - repo: https://github.com/DavidAnson/markdownlint-cli2 - rev: 8524909c7a86f78a6b915ffafea220a6f3979ba1 # frozen: v0.11.0 + rev: 82c791e94c2e2ab2119437d61c722c8e0c20d6c9 # frozen: v0.12.1 hooks: - id: markdownlint-cli2 From 27eb12112dc2ca20767c856950c5cc02b0253625 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Jan 2024 20:28:08 +0000 Subject: [PATCH 2/7] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7baf0eb7..3aed2b4c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,7 +42,7 @@ repos: # ruff - python linter with fixing ability - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 1d42195ebc67a509991eaf68c2353e0181003a95 # frozen: v0.1.14 + rev: 1d42195ebc67a509991eaf68c2353e0181003a95 # frozen: v0.1.14 hooks: - id: ruff name: ruff (fix) @@ -68,7 +68,7 @@ repos: # prettier - multi formatter - repo: https://github.com/pre-commit/mirrors-prettier - rev: f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8 + rev: f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8 hooks: - id: prettier @@ -140,7 +140,7 @@ repos: # ruff - python linter with fixing ability - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 1d42195ebc67a509991eaf68c2353e0181003a95 # frozen: v0.1.14 + rev: 1d42195ebc67a509991eaf68c2353e0181003a95 # frozen: v0.1.14 hooks: - id: ruff name: ruff (lint) @@ -209,7 +209,7 @@ repos: # markdownlint - md file checker - repo: https://github.com/DavidAnson/markdownlint-cli2 - rev: 82c791e94c2e2ab2119437d61c722c8e0c20d6c9 # frozen: v0.12.1 + rev: 82c791e94c2e2ab2119437d61c722c8e0c20d6c9 # frozen: v0.12.1 hooks: - id: markdownlint-cli2 From bdce1aaf4d81f26ac910cffbee0bbf6013366936 Mon Sep 17 00:00:00 2001 From: Christian Riedel Date: Wed, 24 Jan 2024 18:05:17 +0100 Subject: [PATCH 3/7] autoformat jsonc --- .markdownlint-cli2.jsonc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.markdownlint-cli2.jsonc b/.markdownlint-cli2.jsonc index 4498738e..936d01ce 100644 --- a/.markdownlint-cli2.jsonc +++ b/.markdownlint-cli2.jsonc @@ -4,32 +4,32 @@ "MD003": "atx", // heading-style "MD004": { // ul-style - "style": "dash" + "style": "dash", }, "MD013": { // line-length - "line_length": 100 + "line_length": 100, }, "MD014": false, // commands-show-output "MD024": { // no-duplicate-heading - "siblings_only": true + "siblings_only": true, }, "MD035": { // hr-style - "style": "---" + "style": "---", }, "MD048": { // code-fence-style - "style": "backtick" + "style": "backtick", }, "MD049": { // emphasis-style - "style": "underscore" + "style": "underscore", }, "MD050": { // strong-style - "style": "asterisk" - } - } + "style": "asterisk", + }, + }, } From f386732087296eb3a55bc8307f7b64e15c241f42 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 24 Jan 2024 17:06:04 +0000 Subject: [PATCH 4/7] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .markdownlint-cli2.jsonc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.markdownlint-cli2.jsonc b/.markdownlint-cli2.jsonc index 936d01ce..4498738e 100644 --- a/.markdownlint-cli2.jsonc +++ b/.markdownlint-cli2.jsonc @@ -4,32 +4,32 @@ "MD003": "atx", // heading-style "MD004": { // ul-style - "style": "dash", + "style": "dash" }, "MD013": { // line-length - "line_length": 100, + "line_length": 100 }, "MD014": false, // commands-show-output "MD024": { // no-duplicate-heading - "siblings_only": true, + "siblings_only": true }, "MD035": { // hr-style - "style": "---", + "style": "---" }, "MD048": { // code-fence-style - "style": "backtick", + "style": "backtick" }, "MD049": { // emphasis-style - "style": "underscore", + "style": "underscore" }, "MD050": { // strong-style - "style": "asterisk", - }, - }, + "style": "asterisk" + } + } } From 4bd89251824dc2204daed91325eb5f46faa4b466 Mon Sep 17 00:00:00 2001 From: Christian Riedel Date: Wed, 24 Jan 2024 18:12:59 +0100 Subject: [PATCH 5/7] use prettier 3 --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3aed2b4c..c6df29f7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -71,6 +71,8 @@ repos: rev: f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8 hooks: - id: prettier + additional_dependencies: + - "prettier@^3.2.4" # ---------------------------------------------- # Spelling dict From c72a7e332d783aeb7fc9e3bb5e40cee9874dc92a Mon Sep 17 00:00:00 2001 From: Christian Riedel Date: Wed, 24 Jan 2024 18:13:38 +0100 Subject: [PATCH 6/7] autoformat jsonc --- .markdownlint-cli2.jsonc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.markdownlint-cli2.jsonc b/.markdownlint-cli2.jsonc index 4498738e..936d01ce 100644 --- a/.markdownlint-cli2.jsonc +++ b/.markdownlint-cli2.jsonc @@ -4,32 +4,32 @@ "MD003": "atx", // heading-style "MD004": { // ul-style - "style": "dash" + "style": "dash", }, "MD013": { // line-length - "line_length": 100 + "line_length": 100, }, "MD014": false, // commands-show-output "MD024": { // no-duplicate-heading - "siblings_only": true + "siblings_only": true, }, "MD035": { // hr-style - "style": "---" + "style": "---", }, "MD048": { // code-fence-style - "style": "backtick" + "style": "backtick", }, "MD049": { // emphasis-style - "style": "underscore" + "style": "underscore", }, "MD050": { // strong-style - "style": "asterisk" - } - } + "style": "asterisk", + }, + }, } From eebf9e00c28f0885d58b7f97be51f11d3a0f1912 Mon Sep 17 00:00:00 2001 From: Christian Riedel Date: Wed, 24 Jan 2024 18:17:47 +0100 Subject: [PATCH 7/7] fix changelog link --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9571584d..0e27f170 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,7 +30,7 @@ NOTE: please use them in this order. ### Miscellaneous -- Remove unused pre python 3.8 compatibility code ([#74](https://github.com/rstcheck-core/rstcheck/pull/74)) +- Remove unused pre python 3.8 compatibility code ([#74](https://github.com/rstcheck/rstcheck-core/pull/74)) - Add optional YAML code block support ([#77](https://github.com/rstcheck/rstcheck-core/issues/77)) - Improve log message content and reduce log level to warning for missing line numbers in literal blocks ([#81](https://github.com/rstcheck/rstcheck-core/issues/81))