-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
78 lines (67 loc) · 2.22 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "horde_model_reference"
description = "A helper library providing a way to work with the lists of diffusion models, utility models, and any other related files required for AI-Horde."
authors = [
{name = "tazlin", email = "[email protected]"},
{name = "db0", email = "[email protected]"},
{name = "Jug", email = "[email protected]"},
]
readme = "README.md"
requires-python = ">=3.10"
license = { file="LICENSE" }
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
]
dynamic=["version", "dependencies"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[project.urls]
"Homepage" = "https://github.com/Haidra-Org/horde-model-reference"
[project.scripts]
validate-sd-models = "horde_model_reference.legacy.validate_sd:main"
download-sd-models = "horde_model_reference.legacy.download_live_legacy_dbs:main"
[tool.setuptools_scm]
write_to = "horde_model_reference/_version.py"
[tool.setuptools.package-dir]
horde_model_reference = "horde_model_reference"
[tool.setuptools.packages.find]
include = ["horde_model_reference*", "horde_model_reference.*"]
exclude = ["horde_model_reference.showcase.*"]
[tool.setuptools.exclude-package-data]
"*" = ["*.webp", "*.png", "*.jpg", "*.ckpt", "*.pt", "*.safetensors"]
[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=["TRY003"]