Skip to content

Commit 2aa5b63

Browse files
committed
update action
1 parent 9f1b20c commit 2aa5b63

File tree

2 files changed

+16
-79
lines changed

2 files changed

+16
-79
lines changed

.github/workflows/publish_node.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
name: Publish to Comfy registry
1+
name: 📦 Publish to Comfy registry
22
on:
33
workflow_dispatch:
44
push:
5-
branches:
6-
- main
7-
paths:
8-
- "pyproject.toml"
5+
tags:
6+
- '*'
7+
8+
permissions:
9+
issues: write
910

1011
jobs:
1112
publish-node:
1213
name: Publish Custom Node to registry
1314
runs-on: ubuntu-latest
1415
steps:
15-
- name: Check out code
16+
- name: ♻️ Check out code
1617
uses: actions/checkout@v4
17-
- name: Publish Custom Node
18+
- name: 📦 Publish Custom Node
1819
uses: Comfy-Org/publish-node-action@main
1920
with:
20-
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
21+
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}

pyproject.toml

Lines changed: 7 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,15 @@
1-
[build-system]
2-
requires = ["setuptools>=70.0"]
3-
build-backend = "setuptools.build_meta"
4-
51
[project]
62
name = "psutil-container-memory-patch"
7-
version = "0.0.1"
83
description = "Make comfyui show correct memory information in the container (psutil monkey path)"
9-
authors = [
10-
{name = "springjk", email = "chinese.jk@gmail.com"}
11-
]
12-
readme = "README.md"
13-
license = {text = "MIT license"}
14-
classifiers = []
15-
dependencies = [
16-
17-
]
18-
19-
[project.optional-dependencies]
20-
dev = [
21-
"bump-my-version",
22-
"coverage", # testing
23-
"mypy", # linting
24-
"pre-commit", # runs linting on commit
25-
"pytest", # testing
26-
"ruff", # linting
27-
]
4+
version = "0.0.1"
5+
license = { file = "LICENSE.txt" }
6+
dependencies = []
287

298
[project.urls]
30-
bugs = "https://github.com/springjk/ComfyUI-Psutil-Container-Memory-Patch/issues"
31-
homepage = "https://github.com/springjk/ComfyUI-Psutil-Container-Memory-Patch"
32-
9+
Repository = "https://github.com/springjk/ComfyUI-Psutil-Container-Memory-Patch"
10+
# Used by Comfy Registry https://comfyregistry.org
3311

3412
[tool.comfy]
3513
PublisherId = "springjk"
36-
DisplayName = "ComfyUI Psutil Container Memory Patch"
37-
Icon = ""
38-
39-
[tool.setuptools.package-data]
40-
"*" = ["*.*"]
41-
42-
[tool.pytest.ini_options]
43-
minversion = "8.0"
44-
testpaths = [
45-
"tests",
46-
]
47-
48-
[tool.mypy]
49-
files = "."
50-
51-
# Use strict defaults
52-
strict = true
53-
warn_unreachable = true
54-
warn_no_return = true
55-
56-
[[tool.mypy.overrides]]
57-
# Don't require test functions to include types
58-
module = "tests.*"
59-
allow_untyped_defs = true
60-
disable_error_code = "attr-defined"
61-
62-
[tool.ruff]
63-
# extend-exclude = ["static", "ci/templates"]
64-
line-length = 140
65-
src = ["src", "tests"]
66-
target-version = "py39"
67-
68-
# Add rules to ban exec/eval
69-
[tool.ruff.lint]
70-
select = [
71-
"S102", # exec-builtin
72-
"S307", # eval-used
73-
"W293",
74-
"F", # The "F" series in Ruff stands for "Pyflakes" rules, which catch various Python syntax errors and undefined names.
75-
# See all rules here: https://docs.astral.sh/ruff/rules/#pyflakes-f
76-
]
77-
78-
[tool.ruff.lint.flake8-quotes]
79-
inline-quotes = "double"
14+
DisplayName = "Psutil Container Memory Patch"
15+
Icon = ""

0 commit comments

Comments
 (0)