mirror of https://github.com/Bing-su/adetailer.git
update pre-commit
parent
291797c9c8
commit
cb69a52fb3
|
|
@ -19,12 +19,12 @@ repos:
|
||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
|
|
||||||
- repo: https://github.com/rbubley/mirrors-prettier
|
- repo: https://github.com/rbubley/mirrors-prettier
|
||||||
rev: v3.3.3
|
rev: v3.4.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
|
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.8.0
|
rev: v0.8.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: [--fix, --exit-non-zero-on-fix]
|
args: [--fix, --exit-non-zero-on-fix]
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ from typing import Any, Generic, Optional, TypeVar
|
||||||
|
|
||||||
from huggingface_hub import hf_hub_download
|
from huggingface_hub import hf_hub_download
|
||||||
from PIL import Image, ImageDraw
|
from PIL import Image, ImageDraw
|
||||||
from rich import print
|
from rich import print # noqa: A004 Shadowing built-in 'print'
|
||||||
from torchvision.transforms.functional import to_pil_image
|
from torchvision.transforms.functional import to_pil_image
|
||||||
|
|
||||||
REPO_ID = "Bingsu/adetailer"
|
REPO_ID = "Bingsu/adetailer"
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ from typing import TYPE_CHECKING, Any, NamedTuple, cast
|
||||||
|
|
||||||
import gradio as gr
|
import gradio as gr
|
||||||
from PIL import Image, ImageChops
|
from PIL import Image, ImageChops
|
||||||
from rich import print
|
from rich import print # noqa: A004 Shadowing built-in 'print'
|
||||||
|
|
||||||
import modules
|
import modules
|
||||||
from aaaaaa.conditional import create_binary_mask, schedulers
|
from aaaaaa.conditional import create_binary_mask, schedulers
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue