Skip to content

Commit 1a0a205

Browse files
silverwindGiteaBot
andauthored
Clean up pyproject.toml and package.json, fix poetry options (go-gitea#25327)
- Reduce `pyproject.toml` and `package.json` to the minimal required format, removing unneeded properties. `build-system` is not needed as per [this](python-poetry/poetry#8110 (comment)). - Fix `poetry.toml` options they were wrong previously. - Add dependencies of poetry files to templates `files-changed`. --------- Co-authored-by: Giteabot <[email protected]>
1 parent bfab129 commit 1a0a205

File tree

5 files changed

+3
-11
lines changed

5 files changed

+3
-11
lines changed

.github/workflows/files-changed.yml

+1
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ jobs:
5858
5959
templates:
6060
- "templates/**/*.tmpl"
61+
- "poetry.lock"

package-lock.json

-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
2-
"name": "gitea",
3-
"license": "MIT",
4-
"private": true,
52
"type": "module",
63
"engines": {
74
"node": ">= 16.0.0"

poetry.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[virtualenvs]
22
in-project = true
3-
no-pip = true
4-
no-setuptools = true
3+
options.no-pip = true
4+
options.no-setuptools = true

pyproject.toml

-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,3 @@ djlint = "1.31.0"
1313
[tool.djlint]
1414
profile="golang"
1515
ignore="H005,H006,H008,H013,H014,H016,H020,H021,H023,H026,H030,H031,T027"
16-
17-
[build-system]
18-
requires = ["poetry-core"]
19-
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)