-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
78 lines (73 loc) · 1.23 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
[project]
name = "AI Horde"
version = "4.30.0"
description = "A Crowdsourced Generative AI cluster for everyone."
authors = [
{name = "db0", email = "mail@dbzer0.com"},
]
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"requests",
"loguru",
"Flask",
"flask-restx",
"waitress",
"flask-dance",
"bleach",
"redis",
"pillow",
"SQLAlchemy",
"boto3",
"semver",
"torch",
]
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"License :: OSI Approved :: GNU Affero General Public License v3",
]
[project.urls]
"Homepage" = "https://aihorde.net"
"Bug Tracker" = "https://github.com/Haidra-Org/AI-Horde"
[tool.ruff]
line-length = 140
select = [
#"A",
"I",
"E",
"W",
"F",
"UP",
"YTT",
#"B",
#"C4",
"PIE",
#"RET",
#"SIM",
"COM",
# "D",
#"ANN"
]
ignore = [
"ANN101",
"ANN102",
# Ignore D rules for non-google docstring standard
"D203",
"D204",
"D213",
"D215",
"D400",
"D404",
"D406",
"D407",
"D408",
"D409",
"D413",]
[tool.black]
line-length = 140
include = '\.pyi?$'
[tool.ruff.per-file-ignores]
"horde/sandbox.py" = ["F401"]
"server.py" = ["E402"]