File tree Expand file tree Collapse file tree 3 files changed +134
-39
lines changed Expand file tree Collapse file tree 3 files changed +134
-39
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -62,7 +62,15 @@ lazy-object-proxy = "^1.7.1"
62
62
[tool .poetry .extras ]
63
63
docs = [" sphinx" , " sphinx-immaterial" ]
64
64
65
- [tool .poetry .dev-dependencies ]
65
+ [tool .poetry .scripts ]
66
+ openapi-spec-validator = " openapi_spec_validator.__main__:main"
67
+
68
+ [tool .poetry .group .docs .dependencies ]
69
+ sphinx = " >=5.3,<8.0"
70
+ sphinx-immaterial = " >=0.11,<0.13"
71
+
72
+ [tool .poetry .group .dev .dependencies ]
73
+ tbump = " ^6.11.0"
66
74
pre-commit = " *"
67
75
pytest = " ^8.2.2"
68
76
pytest-flake8 = " =1.3.0"
@@ -75,14 +83,6 @@ flynt = "^1.0"
75
83
deptry = " ^0.23.0"
76
84
flake8 = " ^5.0.4"
77
85
pyflakes = " ^2.5.0"
78
- bump2version = " ^1.0.1"
79
-
80
- [tool .poetry .scripts ]
81
- openapi-spec-validator = " openapi_spec_validator.__main__:main"
82
-
83
- [tool .poetry .group .docs .dependencies ]
84
- sphinx = " >=5.3,<8.0"
85
- sphinx-immaterial = " >=0.11,<0.13"
86
86
87
87
[tool .pytest .ini_options ]
88
88
addopts = """
@@ -105,3 +105,30 @@ line-length = 79
105
105
profile = " black"
106
106
line_length = 79
107
107
force_single_line = true
108
+
109
+ [tool .tbump ]
110
+
111
+ [tool .tbump .git ]
112
+ message_template = " Version {new_version}"
113
+ tag_template = " {new_version}"
114
+
115
+ [tool .tbump .version ]
116
+ current = " 0.7.2"
117
+ regex = '''
118
+ (?P<major>\d+)
119
+ \.
120
+ (?P<minor>\d+)
121
+ \.
122
+ (?P<patch>\d+)
123
+ (?P<prerelease>[a-z]+\d+)?
124
+ '''
125
+
126
+ [[tool .tbump .file ]]
127
+ src = " openapi_spec_validator/__init__.py"
128
+
129
+ [[tool .tbump .file ]]
130
+ src = " Dockerfile"
131
+
132
+ [[tool .tbump .file ]]
133
+ src = " pyproject.toml"
134
+ search = ' version = "{current_version}"'
You can’t perform that action at this time.
0 commit comments