From 078b883bd553f5f929036722f5620cfb485f33a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20R=C3=B6hr?= Date: Mon, 3 Feb 2025 17:00:23 +0100 Subject: [PATCH 1/2] This sets the used library version to the currently latest one (0.7.1) as 0.5.5 throws an error --- README.rst | 2 +- docs/hook.rst | 2 +- docs/index.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index f9124af..f765651 100644 --- a/README.rst +++ b/README.rst @@ -87,7 +87,7 @@ pre-commit hook repos: - repo: https://github.com/python-openapi/openapi-spec-validator - rev: 0.5.5 # The version to use or 'master' for latest + rev: 0.7.1 # The version to use or 'master' for latest hooks: - id: openapi-spec-validator diff --git a/docs/hook.rst b/docs/hook.rst index 5079078..3be1251 100644 --- a/docs/hook.rst +++ b/docs/hook.rst @@ -16,7 +16,7 @@ A full .pre-commit-config.yaml example you can use in your repository: repos: - repo: https://github.com/python-openapi/openapi-spec-validator - rev: 0.5.5 # The version to use or 'master' for latest + rev: 0.7.1 # The version to use or 'master' for latest hooks: - id: openapi-spec-validator diff --git a/docs/index.rst b/docs/index.rst index 0ff4fef..f203f08 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -77,7 +77,7 @@ Usage repos: - repo: https://github.com/python-openapi/openapi-spec-validator - rev: 0.5.5 # The version to use or 'master' for latest + rev: 0.7.1 # The version to use or 'master' for latest hooks: - id: openapi-spec-validator From f88020fd8bac12b4786d86a7ac2544c0c0b71952 Mon Sep 17 00:00:00 2001 From: p1c2u Date: Sat, 7 Jun 2025 18:36:38 +0100 Subject: [PATCH 2/2] Add hook version to tbump --- README.rst | 2 +- docs/hook.rst | 2 +- docs/index.rst | 2 +- pyproject.toml | 9 +++++++++ 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index f765651..f8f66de 100644 --- a/README.rst +++ b/README.rst @@ -87,7 +87,7 @@ pre-commit hook repos: - repo: https://github.com/python-openapi/openapi-spec-validator - rev: 0.7.1 # The version to use or 'master' for latest + rev: 0.7.2 # The version to use or 'master' for latest hooks: - id: openapi-spec-validator diff --git a/docs/hook.rst b/docs/hook.rst index 3be1251..0c1fdff 100644 --- a/docs/hook.rst +++ b/docs/hook.rst @@ -16,7 +16,7 @@ A full .pre-commit-config.yaml example you can use in your repository: repos: - repo: https://github.com/python-openapi/openapi-spec-validator - rev: 0.7.1 # The version to use or 'master' for latest + rev: 0.7.2 # The version to use or 'master' for latest hooks: - id: openapi-spec-validator diff --git a/docs/index.rst b/docs/index.rst index f203f08..1031842 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -77,7 +77,7 @@ Usage repos: - repo: https://github.com/python-openapi/openapi-spec-validator - rev: 0.7.1 # The version to use or 'master' for latest + rev: 0.7.2 # The version to use or 'master' for latest hooks: - id: openapi-spec-validator diff --git a/pyproject.toml b/pyproject.toml index 62b20de..d5d3b6e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -123,12 +123,21 @@ regex = ''' (?P[a-z]+\d+)? ''' +[[tool.tbump.file]] +src = "docs/index.rst" + +[[tool.tbump.file]] +src = "docs/hook.rst" + [[tool.tbump.file]] src = "openapi_spec_validator/__init__.py" [[tool.tbump.file]] src = "Dockerfile" +[[tool.tbump.file]] +src = "README.rst" + [[tool.tbump.file]] src = "pyproject.toml" search = 'version = "{current_version}"'