-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
54 lines (49 loc) · 1.2 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
[project]
name = "sd-advanced-grid"
version = "0.1.0"
description = "An extension for AUTOMATIC1111 Stable Diffusion WebUI to generate variants"
authors = ["micky2be"]
license = "MIT"
readme = "README.md"
packages = [{include = "sd_advanced_grid"}]
[project.urls]
Source = "https://github.com/micky2be/a1111-sd-advanced-grid"
[tool.black]
line-length = 120
target-version = ['py310']
[tool.ruff]
builtins = ["modules"]
namespace-packages = ["../../modules"]
target-version = "py310"
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"C", # ?
]
line-length = 150
extend-select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"Q", # flake8-quotes
"I", # isort
"IC", # import convention
"N", # pep8-naming
"SIM", # simplify
"UP", # pyupgrade
"PL", # Pylint
"PTH", # flake8-use-pathlib
"TCH", # flake8-type-checking
"RET", # flake8-return
"ARG", # flake8-unused-arguments
]
ignore = [
"PLR0913" # SD extensions got lots of arguments by design
]
format = "grouped"
[tool.ruff.per-file-ignores]
"axis_options.py" = [
"E501", # long lines by design
]
[tool.ruff.isort]
known-first-party = ["modules"]