-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
152 lines (129 loc) · 3.16 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[dependency-groups]
dev = [
"pre-commit >= 4.0.1"
]
tests = [
"pytest >= 8.3.4",
"pytest-cov >= 6.0.0",
"tox >= 4.23.2",
"tox-uv >= 1.16.1"
]
[project]
authors = [
{email = "BuriedInCode@tuta.io", name = "BuriedInCode"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Framework :: Pydantic :: 2",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed"
]
dependencies = [
"comicfn2dict >= 0.2.4",
"esak >= 2.0.0",
"lxml >= 5.3.0",
"mokkari >= 3.5.0",
"natsort >= 8.4.0",
"pillow >= 11.0.0",
"py7zr >= 0.22.0",
"pydantic >= 2.10.4",
"pydantic-xml >= 2.14.1",
"rarfile >= 4.2",
"rich >= 13.9.4",
"simyan >= 1.4.0",
"tomli >= 2.2.1 ; python_version < '3.11'",
"tomli-w >= 1.1.0",
"typer >= 0.15.1"
]
description = "Unify and organize your comic collection."
dynamic = ["version"]
keywords = ["comic", "comics", "metadata", "tagger", "tagging"]
license = {text = "MIT"}
name = "perdoo"
readme = "README.md"
requires-python = ">= 3.10"
[project.scripts]
Perdoo = "perdoo.__main__:app"
[project.urls]
Homepage = "https://pypi.org/project/Perdoo"
Issues = "https://github.com/Buried-In-Code/Perdoo/issues"
Source = "https://github.com/Buried-In-Code/Perdoo"
[tool.coverage.report]
show_missing = true
[tool.coverage.run]
source = ["perdoo"]
[tool.hatch.build.targets.sdist]
exclude = [".github/"]
[tool.hatch.version]
path = "perdoo/__init__.py"
[tool.pytest.ini_options]
addopts = ["--cov"]
[tool.ruff]
extend-exclude = ["perdoo/archives/zipfile_remove.py"]
fix = true
line-length = 100
output-format = "grouped"
show-fixes = true
unsafe-fixes = true
[tool.ruff.format]
docstring-code-format = true
line-ending = "native"
skip-magic-trailing-comma = true
[tool.ruff.lint]
ignore = [
"C901",
"COM812",
"D",
"DTZ",
"EM101",
"EM102",
"FBT",
"PLR0912",
"PLR0913",
"PLR2004",
"PLW2901",
"TCH",
"TRY003",
"TRY300"
]
select = ["ALL"]
[tool.ruff.lint.flake8-annotations]
allow-star-arg-any = true
mypy-init-return = true
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.ruff.lint.flake8-unused-arguments]
ignore-variadic-names = true
[tool.ruff.lint.isort]
combine-as-imports = true
split-on-trailing-comma = false
[tool.ruff.lint.pep8-naming]
classmethod-decorators = ["classmethod", "pydantic.field_validator"]
[tool.ruff.lint.per-file-ignores]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.pyupgrade]
keep-runtime-typing = true
[tool.tomlsort]
all = true
overrides."tool.tox.env_list".inline_arrays = false
overrides."tool.tox.testenv.commands".inline_arrays = false
[tool.tox]
env_list = ["3.10", "3.11", "3.12", "3.13"]
min_version = "4.22"
[tool.tox.env_run_base]
commands = [["pytest"]]
dependency_groups = ["tests"]