mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-25 09:24:07 +00:00
Add pre-commit configuration and update README for backend development
This commit is contained in:
13
.pre-commit-config.yaml
Normal file
13
.pre-commit-config.yaml
Normal 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]
|
||||
Reference in New Issue
Block a user