Skip to content

Commit 0fe3461

Browse files
committed
ci: Change pyproject.toml template so Renovate will update it.
1 parent be77a95 commit 0fe3461

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

openapi_python_client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def _build_metadata(self) -> None:
194194
git_ignore_path.write_text(git_ignore_template.render(), encoding=self.file_encoding)
195195

196196
def _build_pyproject_toml(self, *, use_poetry: bool) -> None:
197-
template = "pyproject.toml.jinja" if use_poetry else "pyproject_no_poetry.toml.jinja"
197+
template = "pyproject.toml" if use_poetry else "pyproject_no_poetry.toml.jinja"
198198
pyproject_template = self.env.get_template(template)
199199
pyproject_path = self.project_dir / "pyproject.toml"
200200
pyproject_path.write_text(

tests/test___init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ def test__build_pyproject_toml(self, mocker, use_poetry):
465465

466466
pyproject_template = mocker.MagicMock(autospec=jinja2.Template)
467467
project.env = mocker.MagicMock(autospec=jinja2.Environment)
468-
template_path = "pyproject.toml.jinja" if use_poetry else "pyproject_no_poetry.toml.jinja"
468+
template_path = "pyproject.toml" if use_poetry else "pyproject_no_poetry.toml.jinja"
469469
templates = {
470470
template_path: pyproject_template,
471471
}

0 commit comments

Comments
 (0)