diff --git a/.markdownlint-cli2.yaml b/.markdownlint-cli2.yaml deleted file mode 100644 index cad769c4a..000000000 --- a/.markdownlint-cli2.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -ignores: - - .github/PULL_REQUEST_TEMPLATE.md - -config: - default: true - - # Do not enforce line length - line-length: false - - # Adjust list indentation for 4 spaces - list-marker-space: - ul_single: 3 - ul_multi: 3 - ol_single: 2 - ol_multi: 2 - - ul-indent: - indent: 4 - - # Require fenced code blocks - code-block-style: - style: fenced - - # Disable checking for reference links, as MkDocs generates additional ones that - # are not visible to MarkdownLint. - reference-links-images: false - - strong-style: - style: asterisk - - emphasis-style: - style: underscore diff --git a/.rumdl.toml b/.rumdl.toml new file mode 100644 index 000000000..732620b94 --- /dev/null +++ b/.rumdl.toml @@ -0,0 +1,38 @@ +#:schema https://raw.githubusercontent.com/rvben/rumdl/main/rumdl.schema.json + +[global] +flavor = "mkdocs" +exclude = [".github/PULL_REQUEST_TEMPLATE.md"] +# Pre-commit hooks pass file paths explicitly; apply `exclude` to them too. +force_exclude = true +disable = [ + "line-length", + # MkDocs generates reference links that are not visible to the linter. + "reference-links-images", + # Changelogs generated by git-cliff mix tight and loose list items. + "MD076", +] + +[per-file-ignores] +# Docs link to pages that MkDocs generates at build time. +"docs/**/*.md" = ["MD057"] +"pact-python-ffi/docs/**/*.md" = ["MD057"] + +[ul-indent] +indent = 4 +style = "fixed" + +[list-marker-space] +ul-single = 3 +ul-multi = 3 +ol-single = 2 +ol-multi = 2 + +[code-block-style] +style = "fenced" + +[emphasis-style] +style = "underscore" + +[strong-style] +style = "asterisk" diff --git a/.vscode/extensions.json b/.vscode/extensions.json deleted file mode 100644 index 360cbadb8..000000000 --- a/.vscode/extensions.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "recommendations": [ - "bierner.github-markdown-preview", - "biomejs.biome", - "charliermarsh.ruff", - "davidanson.vscode-markdownlint", - "editorconfig.editorconfig", - "github.vscode-github-actions", - "github.vscode-pull-request-github", - "ms-python.debugpy", - "ms-python.mypy-type-checker", - "ms-python.python", - "redhat.vscode-yaml", - "yzhang.markdown-all-in-one", - "tombi-toml.tombi" - ] -} diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index e6415bfbd..000000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "python.testing.pytestArgs": [ - "--reruns=0", - "--no-cov", - "examples/", - "pact-python-ffi/tests/", - "tests/" - ], - "python.testing.unittestEnabled": false, - "python.testing.pytestEnabled": true -} diff --git a/CHANGELOG.md b/CHANGELOG.md index f896c2d55..e37089b24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file. - + ## [pact-python/4.2.0] _2026-10-23_ diff --git a/biome.json b/biome.json index d4d0fb13d..a73288d93 100644 --- a/biome.json +++ b/biome.json @@ -1,5 +1,5 @@ { - "$schema": "https://biomejs.dev/schemas/2.0.4/schema.json", + "$schema": "https://biomejs.dev/schemas/2.6.8/schema.json", "assist": { "actions": { "source": { "organizeImports": "on" } @@ -8,10 +8,18 @@ "linter": { "enabled": true, "rules": { - "recommended": true + "preset": "recommended" } }, "formatter": { "useEditorconfig": true + }, + "markdown": { + "formatter": { "enabled": false }, + "linter": { "enabled": false } + }, + "yaml": { + "formatter": { "enabled": false }, + "linter": { "enabled": false } } } diff --git a/cliff.toml b/cliff.toml index 6f5f7f9d5..95a0327ab 100644 --- a/cliff.toml +++ b/cliff.toml @@ -8,7 +8,7 @@ header = """ All notable changes to this project will be documented in this file. - + """ diff --git a/pact-python-ffi/CHANGELOG.md b/pact-python-ffi/CHANGELOG.md index b575af712..a5d9c28cf 100644 --- a/pact-python-ffi/CHANGELOG.md +++ b/pact-python-ffi/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. Note that this _only_ includes changes to the Python FFI interface. For changes to the Pact FFI itself, see the [Pact FFI changelog](https://github.com/pact-foundation/pact-reference/blob/master/rust/pact_ffi/CHANGELOG.md). - + ## [pact-python-ffi/0.5.12.1] _2026-10-23_ diff --git a/pact-python-ffi/cliff.toml b/pact-python-ffi/cliff.toml index dacd83159..2857f56d5 100644 --- a/pact-python-ffi/cliff.toml +++ b/pact-python-ffi/cliff.toml @@ -11,7 +11,7 @@ All notable changes to this project will be documented in this file. Note that this _only_ includes changes to the Python FFI interface. For changes to the Pact FFI itself, see the [Pact FFI changelog](https://github.com/pact-foundation/pact-reference/blob/master/rust/pact_ffi/CHANGELOG.md). - + """ diff --git a/prek.toml b/prek.toml index fbfe4172c..1e6aa03ff 100644 --- a/prek.toml +++ b/prek.toml @@ -37,12 +37,12 @@ hooks = [ [[repos]] repo = "https://github.com/biomejs/pre-commit" -rev = "v2.5.6" +rev = "v2.6.8" hooks = [{ id = "biome-check" }] [[repos]] repo = "https://github.com/astral-sh/ruff-pre-commit" -rev = "v0.16.1" +rev = "v0.17.6" [[repos.hooks]] id = "ruff-check" @@ -53,17 +53,17 @@ rev = "v0.16.1" [[repos]] repo = "https://github.com/crate-ci/committed" -rev = "v1.1.11" +rev = "v1.1.12" hooks = [{ id = "committed" }] [[repos]] -repo = "https://github.com/DavidAnson/markdownlint-cli2" -rev = "v0.23.2" -hooks = [{ id = "markdownlint-cli2" }] +repo = "https://github.com/rvben/rumdl-pre-commit" +rev = "v0.3.5" +hooks = [{ id = "rumdl-check" }] [[repos]] repo = "https://github.com/crate-ci/typos" -rev = "v1.48.0" +rev = "v1.52.2" [[repos.hooks]] id = "typos" @@ -71,7 +71,7 @@ rev = "v1.48.0" [[repos]] repo = "https://github.com/tombi-toml/tombi-pre-commit" -rev = "v1.2.6" +rev = "v1.11.3" hooks = [{ id = "tombi-format" }, { id = "tombi-lint" }] [[repos]]