-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
80 lines (69 loc) · 1.96 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
#
[build-system]
requires = ["setuptools", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[project]
name = "dataset-tools"
description = "An ultralight metadata viewer to help you visualize and edit dataset text."
authors = [{ name = "Ktiseos Nyx", email = "[email protected]" }]
requires-python = ">= 3.10"
license = { file = "LICENSE" }
readme = "README.md"
urls = { source = "https://github.com/orgs/Ktiseos-Nyx/Dataset-Tools" }
dynamic = ["version"]
keywords = [
"training",
"text",
"images",
"AI",
"editing",
"dataset",
"metadata",
"generative",
"art",
]
classifiers = [
"Topic :: Multimedia :: Graphics",
"Topic :: Multimedia :: Graphics :: Viewers",
"Topic :: Text Processing :: General",
"Topic :: Artistic Software",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Intended Audience :: Other Audience",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication",
"Environment :: X11 Applications :: Qt",
]
dependencies = [
"rich",
"pydantic",
"pillow",
"PyQt6",
"typing-extensions",
"pydantic-core",
"toml",
]
[project.optional-dependencies]
dev = ["pytest"]
kn = ["ruff", "pylint"]
[project.scripts]
dataset-tools = "dataset_tools.main:main"
[tool.setuptools_scm]
write_to = "_version.py"
# Personal preferences
[tool.uv]
dev-dependencies = ["pytest"]
[tool.ruff]
line-length = 120
include = ["*.py"]
extend-exclude = ["^tests/.*$", "test.*$"]
[tool.pylint]
ignore-paths = ["^tests/.*$", "test_.*$"]
[tool.ruff.format]
[tool.ruff.lint.pycodestyle]
max-line-length = 120
ignore-overlong-task-comments = true
[tool.typos]
files.extend-exclude = ["^tests/.*$", "test.*$"]