-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
47 lines (40 loc) · 982 Bytes
/
pyproject.toml
File metadata and controls
47 lines (40 loc) · 982 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
45
46
47
[project]
name = "python-image-generation"
version = "1.0.0"
description = "「Pythonで学ぶ画像生成」のサンプルコード"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"ipywidgets>=8.1.5",
"jupyterlab>=4.3.0",
"py-img-gen[clip,controlnet,lora,ncsn,quantization,sd3]>=0.1.0",
]
[dependency-groups]
dev = [
"mypy>=1.0.0",
"pytest>=6.0.0",
"ruff>=0.1.5",
"jupytext>=1.16.4",
"nbmake>=1.5.4",
"nbqa>=1.9.0",
]
[tool.ruff]
# To match the maximum number of characters in the book
line-length = 60
extend-include = ["*.ipynb", "latex"]
[tool.ruff.lint]
ignore = [
"E402", # module-import-not-at-top-of-file
]
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "diffusers.*"
disallow_untyped_calls = false
[[tool.mypy.overrides]]
module = "IPython.display.*"
disallow_untyped_calls = false
[tool.jupytext.formats]
"notebooks/" = "ipynb"
"scripts/" = "py:percent"