-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (62 loc) · 1.73 KB
/
pyproject.toml
File metadata and controls
78 lines (62 loc) · 1.73 KB
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
[build-system]
requires = ["setuptools", "setuptools-scm", "wheel", "pip"]
build-backend = "setuptools.build_meta"
[project]
name = "sdbx"
dynamic = ["version", "dependencies"]
description = "A powerful and modular stable diffusion GUI with a graph/nodes interface."
authors = [{ name = "darkshapes" }]
requires-python = ">= 3.12"
[dependency-groups]
dev = [
# Testing frameworks and tools
"zodiac[dev] @ git+https://github.com/darkshapes/zodiac@main",
"pytest",
"pytest-asyncio",
"ruff>=0.12.0",
"sdbx[core]",
]
[project.optional-dependencies]
core = [
# Server libraries # (torch, torchvision, and torchaudio version are determined by system in setup.py)
"fastapi",
"uvicorn",
"watchfiles",
"websockets",
# Environment management
"dulwich",
"virtualenv",
# Data validation
"pydantic_settings",
# Machine learning libraries
"zodiac[full] @ git+https://github.com/darkshapes/zodiac@main",
]
dev = [
# Testing frameworks and tools
"zodiac[dev] @ git+https://github.com/darkshapes/zodiac@main",
"pytest",
"pytest-asyncio",
"ruff>=0.12.0",
"sdbx[core]",
]
[project.scripts]
sdbx = "sdbx.__main__:main"
[tool.setuptools]
packages = ["sdbx"]
[tool.setuptools_scm]
[tool.ruff]
line-length = 140
include = ["*.py"]
extend-exclude = ["^tests/.*$", "test.*$"]
# [tool.ruff.format]
# exclude = ["*.py"]
[tool.pylint]
max-line-length = 140
ignore-paths = ["^tests/.*$", "test_.*$"]
disable = ["C0415"]
[tool.ruff.lint.pycodestyle]
max-line-length = 140
ignore-overlong-task-comments = true
[tool.typos]
files.extend-exclude = ["^tests/.*$", "test.*$"]
default.extend-words = { "ot" = "ot" }