-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (61 loc) · 2.04 KB
/
pyproject.toml
File metadata and controls
66 lines (61 loc) · 2.04 KB
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
[project]
name = "immich-autotag"
version = "0.71.0"
description = "Immich autotagging and album management system"
authors = [
{ name = "txemi", email = "txemitron@gmail.com" }
]
license = "GPL-3.0-only"
readme = "README.md"
keywords = ["immich", "autotag", "photo", "album", "tagging", "automation"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Developers",
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
"Topic :: Utilities"
]
dependencies = [
"httpx>=0.23.0,<0.29.0",
"attrs>=22.2.0",
"python-dateutil>=2.8.0",
"typeguard",
"pandas>=1.3.0",
"pyyaml",
"pydantic",
# Dependencias explícitas para immich_client
"certifi",
"idna",
"typing_extensions",
"six",
"urllib3",
"setuptools",
"requests",
"importlib-metadata; python_version<'3.8'",
"gitpython"
]
# Include both packages in the distribution
[tool.setuptools.packages.find]
include = ["immich_autotag*", "immich_client*"]
[project.scripts]
immich-autotag = "immich_autotag.entrypoint:run_main"
# ---- Formatting tools configuration ----
# These sections ensure consistent formatting across all environments and contributors.
# They follow widely accepted Python community standards and are compatible with most CI tools.
[tool.black]
# Maximum line length for code. Black's default is 88, which balances readability and line wrapping.
line-length = 88
# Target Python version for syntax and formatting rules. Adjust as needed for your project.
target-version = ["py311"]
# If false, Black will normalize string quotes and prefixes (recommended for consistency).
skip-string-normalization = false
[tool.isort]
# Use the 'black' profile so isort and black agree on import formatting.
profile = "black"
# Match Black's line length for imports.
line_length = 88
# Skip these directories when sorting imports (virtualenv, generated, or external code).
skip = [".venv", "immich-client", "scripts"]