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"
6262[tool .poetry .extras ]
6363docs = [" sphinx" , " sphinx-immaterial" ]
6464
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"
6674pre-commit = " *"
6775pytest = " ^8.2.2"
6876pytest-flake8 = " =1.3.0"
@@ -75,14 +83,6 @@ flynt = "^1.0"
7583deptry = " ^0.23.0"
7684flake8 = " ^5.0.4"
7785pyflakes = " ^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"
8686
8787[tool .pytest .ini_options ]
8888addopts = """
@@ -105,3 +105,30 @@ line-length = 79
105105profile = " black"
106106line_length = 79
107107force_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