Compare commits

...

2 Commits

Author SHA1 Message Date
Yoland Yan
1835df3d11
Merge ef0c2b0819 into 98bdca4cb2 2025-04-10 08:50:37 -04:00
Yoland Yan
ef0c2b0819 Add pre-commit configuration and update README for backend development 2025-03-02 12:43:19 -08:00
2 changed files with 32 additions and 0 deletions

13
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,13 @@
repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.241 # Use the desired version of Ruff
hooks:
- id: ruff
- repo: local
hooks:
- id: pytest
name: Run Pytest
entry: pytest
language: system
types: [python]

View File

@ -332,6 +332,25 @@ Use `--tls-keyfile key.pem --tls-certfile cert.pem` to enable TLS/SSL, the app w
See also: [https://www.comfy.org/](https://www.comfy.org/)
## ComfyUI Backend Development
### Setup Environment
Install pre-commit to run tests and linters
```
pip install pre-commit
```
```
pre-commit install
```
### Reporting Issues and Requesting Features
For any bugs, issues, or feature requests related to the backend, please use the [ComfyUI repository](https://github.com/comfyanonymous/ComfyUI). This will help us manage and address backend-specific concerns more efficiently.
## Frontend Development
As of August 15, 2024, we have transitioned to a new frontend, which is now hosted in a separate repository: [ComfyUI Frontend](https://github.com/Comfy-Org/ComfyUI_frontend). This repository now hosts the compiled JS (from TS/Vue) under the `web/` directory.