forked from Acly/krita-ai-diffusion
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
44 lines (38 loc) · 910 Bytes
/
pyproject.toml
File metadata and controls
44 lines (38 loc) · 910 Bytes
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
[project]
dynamic = ["version"]
name = "krita-ai-diffusion"
requires-python = ">=3.10"
[tool.uv]
package = false
[tool.ruff]
target-version = "py311"
line-length = 100
preview = true
extend-exclude = [
"ai_diffusion/websockets",
"ai_diffusion/debugpy",
"krita.pyi",
]
[tool.ruff.lint]
ignore = ["E741"]
[tool.black]
line-length = 100
preview = true
include = '(ai_diffusion|scripts|tests)/.*\.pyi?$'
extend-exclude = 'websockets|krita\.pyi$'
[tool.pyright]
include = ["ai_diffusion", "scripts/*.py", "tests"]
exclude = [
"**/__pycache__",
"**/.pytest_cache",
"**/.server",
"tests/server",
"tests/test_image_transfer.py",
"ai_diffusion/websockets",
"ai_diffusion/debugpy",
]
ignore = ["ai_diffusion/websockets", "ai_diffusion/debugpy", "krita.pyi"]
extraPaths = ["scripts/typeshed"]
reportMissingModuleSource = false
[tool.pytest.ini_options]
testpaths = ["tests"]