-
Notifications
You must be signed in to change notification settings - Fork 70
/
pyproject.toml
81 lines (68 loc) · 2.05 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
[tool.black]
line-length = 119
[tool.ruff]
line-length = 119
select = [
"A", # flake8-builtins
"I", # isort
# "S", # Bandit
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
"YTT", # flake8-2020
# "BLE", # flake8-blind-except
# "B", # flake8-bugbear
"COM", # flake8-commas
"C4", # flake8-comprehensions
# "G", # flake8-logging-format
"INP", # flake8-no-pep420
"PIE", # flake8-pie
# "T20", # flake8-print
# "UP", # pyupgrade
"RSE", # flake8-raise
"RET", # flake8-return
# "SLF", # flake8-self
"SIM", # flake8-simplify
"ARG", # flake8-unused-arguments
# "TRY", # tryceratops
"RUF100"
]
ignore = [
"A002", # Argument `x` is shadowing a python builtin
"A003", # Class attribute `x` is shadowing a python builtin
]
[tool.ruff.per-file-ignores]
"bridge_alchemy.py" = ["E402"] # Module level import not at top of file
"bridge_stable_diffusion.py" = ["E402"] # Module level import not at top of file
[tool.ruff.isort]
known-third-party = ["creds", "gfpgan", "ray", "bridgeData", "nataili", "horde_model_reference"]
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
[project]
name = "horde_bridge"
version = "1.0.0"
authors = [
{ name="db0", email="mail@dbzer0.com" },
]
description = "Stable Horde Bridge"
readme = "README.md"
license = { file="LICENSE" }
dynamic = ["dependencies"]
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
]
[project.urls]
"Homepage" = "https://github.com/Haidra-Org/AI-Horde-Worker"
"Bug Tracker" = "https://github.com/Haidra-Org/AI-Horde-Worker"
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[tool.setuptools.packages]
find = {}
[project.scripts]
horde_bridge = "bridge_stable_diffusion:main"
horde_bridge_interrogate = "bridge_interrogation:main"
horde_bridge_webui = "webui:main"