Skip to content

Commit c3c785b

Browse files
authored
Merge pull request #383 from froehr/feature/bump_release_version_in_pre-commit_readme_example
This sets the used library version to the currently latest one (0.7.1) as 0.5.5 throws an error
2 parents 7c5f03d + f88020f commit c3c785b

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ pre-commit hook
8787
8888
repos:
8989
- repo: https://github.com/python-openapi/openapi-spec-validator
90-
rev: 0.5.5 # The version to use or 'master' for latest
90+
rev: 0.7.2 # The version to use or 'master' for latest
9191
hooks:
9292
- id: openapi-spec-validator
9393

docs/hook.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A full .pre-commit-config.yaml example you can use in your repository:
1616
1717
repos:
1818
- repo: https://github.com/python-openapi/openapi-spec-validator
19-
rev: 0.5.5 # The version to use or 'master' for latest
19+
rev: 0.7.2 # The version to use or 'master' for latest
2020
hooks:
2121
- id: openapi-spec-validator
2222

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Usage
7777
7878
repos:
7979
- repo: https://github.com/python-openapi/openapi-spec-validator
80-
rev: 0.5.5 # The version to use or 'master' for latest
80+
rev: 0.7.2 # The version to use or 'master' for latest
8181
hooks:
8282
- id: openapi-spec-validator
8383

pyproject.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,21 @@ regex = '''
123123
(?P<prerelease>[a-z]+\d+)?
124124
'''
125125

126+
[[tool.tbump.file]]
127+
src = "docs/index.rst"
128+
129+
[[tool.tbump.file]]
130+
src = "docs/hook.rst"
131+
126132
[[tool.tbump.file]]
127133
src = "openapi_spec_validator/__init__.py"
128134

129135
[[tool.tbump.file]]
130136
src = "Dockerfile"
131137

138+
[[tool.tbump.file]]
139+
src = "README.rst"
140+
132141
[[tool.tbump.file]]
133142
src = "pyproject.toml"
134143
search = 'version = "{current_version}"'

0 commit comments

Comments
 (0)