-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
72 lines (65 loc) · 1.7 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
[project]
name = "lr-autotag"
version = "0.1.0"
description = "AI-powered keyword tagging assistant for Adobe Lightroom Classic"
readme = "README.md"
authors = [
{ name = "Jsakkos", email = "[email protected]" }
]
license = { text = "MIT" }
keywords = ["lightroom", "ai", "clip", "image", "tagging", "photography"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Multimedia :: Graphics",
]
requires-python = ">=3.9"
dependencies = [
"click>=8.1.8",
"pillow>=11.0.0",
"torch>=2.5.1",
"transformers>=4.47.1",
]
[project.scripts]
lr-autotag = "lr_autotag:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff.format]
preview = true
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint]
preview = true
extend-select = ["C901"]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"UP", # pyupgrade
"N", # pep8-naming
"YTT", # flake8-2020
#"S", # flake8-bandit
]
ignore = ["E501","E402","S101","S113","E741","UP008"] # Line length is handled by formatter
[tool.ruff.lint.extend-per-file-ignores]
"docs/.hooks/*" = ["INP001", "T201"]
[tool.ruff.lint.isort]
known-first-party = ["foo", "bar"]
[dependency-groups]
dev = [
"pytest-cov>=6.0.0",
"pytest>=8.3.4",
"ruff>=0.8.4",
"mypy>=1.14.0",
]