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 - repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.0 rev: v0.15.0
hooks: hooks:
- id: ruff - id: ruff-check
args: [--fix, --exit-non-zero-on-fix] args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format - id: ruff-format

View File

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