chore: change toml formattor

pull/831/head
Dowon 2026-02-05 08:23:35 +09:00
parent fcb15331c7
commit 902a3d6445
No known key found for this signature in database
2 changed files with 41 additions and 40 deletions

View File

@ -26,6 +26,6 @@ repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.0
hooks:
- id: ruff
- id: ruff-check
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format

View File

@ -1,26 +1,26 @@
[project]
name = "adetailer"
description = "An object detection and auto-mask extension for stable diffusion webui."
authors = [{ name = "dowon", email = "ks2515@naver.com" }]
requires-python = ">=3.9"
readme = "README.md"
requires-python = ">=3.9"
license = { text = "AGPL-3.0" }
dependencies = [
"ultralytics>=8.2",
"mediapipe>=0.10.13",
"pydantic<3",
"rich>=13",
"huggingface_hub",
]
authors = [{ name = "dowon", email = "ks2515@naver.com" }]
keywords = [
"stable-diffusion",
"stable-diffusion-webui",
"adetailer",
"ultralytics",
"adetailer",
"stable-diffusion",
"stable-diffusion-webui",
"ultralytics",
]
classifiers = [
"License :: OSI Approved :: GNU Affero General Public License v3",
"Topic :: Scientific/Engineering :: Image Recognition",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Topic :: Scientific/Engineering :: Image Recognition",
]
dependencies = [
"huggingface_hub",
"mediapipe>=0.10.13",
"pydantic<3",
"rich>=13",
"ultralytics>=8.2",
]
dynamic = ["version"]
@ -48,30 +48,31 @@ extend-exclude = ["modules"]
[tool.ruff.lint]
select = [
"A",
"B",
"C4",
"C90",
"E",
"EM",
"F",
"FA",
"I001",
"ISC",
"N",
"PD",
"PERF",
"PL",
"PIE",
"PT",
"PTH",
"RET",
"RUF",
"SIM",
"T20",
"TRY",
"UP",
"W",
"A",
"B",
"C4",
"C90",
"E",
"EM",
"F",
"FA",
"I001",
"ISC",
"N",
"PD",
"PERF",
"PL",
"PLC",
"PIE",
"PT",
"PTH",
"RET",
"RUF",
"SIM",
"T20",
"TRY",
"UP",
"W",
]
ignore = ["B905", "E501", "PLR2004", "PLW0603"]
unfixable = ["F401"]