-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
88 lines (83 loc) · 2.17 KB
/
pyproject.toml
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
85
86
87
88
[project]
name = "diffusers-scripts"
version = "0.1.0"
description = "Collection of various local use convenience scripts for playing around with diffusers."
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"accelerate>=0.34.2",
"diffusers>=0.30.2",
"protobuf>=5.28.1",
"python-ffmpeg>=2.0.12",
"python-slugify>=8.0.4",
"sentencepiece>=0.2.0",
"setuptools>=74.1.2",
"soundfile>=0.12.1",
"torch>=2.4.1",
"torchsde>=0.2.6",
"transformers>=4.44.2",
"xformers>=0.0.28.post1",
]
[tool.uv]
dev-dependencies = [
"pymarkdownlnt>=0.9.23",
"ruff>=0.6.5",
]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"YTT", # flake8-2020
"BLE", # flake8-blind-except
"FBT", # flake8-boolean-trap
"B", # flake8-bugbear
"A", # flake8-builtins
"COM", # flake8-commas
"C4", # flake8-comprehensions
"DTZ", # flake8-datetimez
"T10", # flake8-debugger
"EM", # flake8-errmsg
"EXE", # flake8-executable
"FA", # flake8-future-annotations
"ISC", # flake8-implicit-str-concat
"ICN", # flake8-import-conventions
"LOG", # flake8-logging
"G", # flake8-logging-format
"INP", # flake8-no-pep420
"PIE", # flake8-pie
"T20", # flake8-print
"PYI", # flake8-pyi
"Q", # flake8-quotes
"RSE", # flake8-raise
"RET", # flake8-return
"SLF", # flake8-self
"SLOT", # flake8-slot
"SIM", # flake8-simplify
"TID", # flake8-tidy-imports
"ARG", # flake8-unused-arguments
"PTH", # flake8-use-pathlib
"TD", # flake8-todos
"FIX", # flake8-fixme
"ERA", # eradicate
"PL", # pylint
"TRY", # tryceratops
"FLY", # flynt
"PERF", # perflint
"FURB", # refurb
"RUF", # ruff-specific rules
]
ignore = [
"COM812", # conflicts with ruff format
"ISC001", # conflicts with ruff format
]
[tool.pymarkdown]
plugins.md013.line_length = 120
plugins.md013.heading_line_length = 120
plugins.md013.code_block_line_length = 120