Skip to content

Commit 09c3da7

Browse files
committed
Place project.urls section a bit further down, so that it doesn't clash with other sections
1 parent f366d8b commit 09c3da7

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

modules/openapi-generator/src/main/resources/python/pyproject.mustache

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ license = "{{{licenseInfo}}}{{^licenseInfo}}NoLicense{{/licenseInfo}}"
1919
readme = "README.md"
2020
{{#poetry1}}
2121
repository = "https://{{{gitHost}}}/{{{gitUserId}}}/{{{gitRepoId}}}"
22-
{{/poetry1}}
23-
{{^poetry1}}
24-
25-
[project.urls]
26-
Repository = "https://{{{gitHost}}}/{{{gitUserId}}}/{{{gitRepoId}}}"
27-
2822
{{/poetry1}}
2923
keywords = ["OpenAPI", "OpenAPI-Generator", "{{{appName}}}"]
3024
{{#poetry1}}
@@ -68,8 +62,11 @@ dependencies = [
6862
"pydantic (>=2)",
6963
"typing-extensions (>=4.7.1)"
7064
]
71-
{{/poetry1}}
7265

66+
[project.urls]
67+
Repository = "https://{{{gitHost}}}/{{{gitUserId}}}/{{{gitRepoId}}}"
68+
69+
{{/poetry1}}
7370
{{^poetry1}}
7471
[tool.poetry]
7572
requires-poetry = ">=2.0"

0 commit comments

Comments
 (0)