Skip to content

Commit c27cd2d

Browse files
authored
✨ feat: PEP 621 @geminixiang (#99)
1 parent b451ec1 commit c27cd2d

File tree

4 files changed

+53
-10
lines changed

4 files changed

+53
-10
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
# pr-lint
2-

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ runs:
2020
python-version: "3.x"
2121

2222
- name: Install pr-lint
23-
run: pip install poetry && poetry install
23+
run: pip install poetry && poetry sync
2424
shell: bash
2525
working-directory: ${{ github.action_path }}
2626

poetry.lock

Lines changed: 43 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
1-
[tool.poetry]
1+
[project]
22
name = "pr-lint"
33
version = "0.1.0"
44
description = ""
5-
authors = ["lucemia <[email protected]>"]
5+
authors = [
6+
{ name = "lucemia", email = "[email protected]" },
7+
]
68
readme = "README.md"
9+
10+
[project.scripts]
11+
pr-lint = "pr_lint.main:app"
12+
13+
[tool.poetry]
714
packages = [{ include = "pr_lint", from = "src" }]
815
include = ["pr_lint/py.typed"]
916
exclude = ["**/tests"]
@@ -28,7 +35,3 @@ pattern = "default-unprefixed"
2835
[build-system]
2936
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
3037
build-backend = "poetry_dynamic_versioning.backend"
31-
32-
33-
[tool.poetry.scripts]
34-
pr-lint = "pr_lint.main:app"

0 commit comments

Comments
 (0)