Diffusers
File size: 1,570 Bytes
e5930e3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[project]
name = "adetailer"
description = "An object detection and auto-mask extension for stable diffusion webui."
authors = [{ name = "dowon", email = "[email protected]" }]
requires-python = ">=3.9"
readme = "README.md"
license = { text = "AGPL-3.0" }
dependencies = [
    "ultralytics>=8.2",
    "mediapipe>=0.10.13",
    "pydantic<3",
    "rich>=13",
    "huggingface_hub",
]
keywords = [
    "stable-diffusion",
    "stable-diffusion-webui",
    "adetailer",
    "ultralytics",
]
classifiers = [
    "License :: OSI Approved :: GNU Affero General Public License v3",
    "Topic :: Scientific/Engineering :: Image Recognition",
]
dynamic = ["version"]

[project.urls]
repository = "https://github.com/Bing-su/adetailer"

[project.optional-dependencies]
dev = ["ruff", "pre-commit", "devtools"]
test = ["pytest", "hypothesis"]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.version]
path = "adetailer/__version__.py"

[tool.isort]
profile = "black"
known_first_party = ["launch", "modules"]

[tool.ruff]
target-version = "py39"
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",
]
ignore = ["B905", "E501", "PLR2004", "PLW0603"]
unfixable = ["F401"]

[tool.ruff.lint.isort]
known-first-party = ["launch", "modules"]

[tool.ruff.lint.pyupgrade]
keep-runtime-typing = true