-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
141 lines (126 loc) · 3.48 KB
/
Copy pathpyproject.toml
File metadata and controls
141 lines (126 loc) · 3.48 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
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
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=82.0"]
[project]
authors = [
{email = "vagabondHustler.github@gmail.com"},
{name = "vagabondHustler"},
]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3.14",
"Topic :: Multimedia :: Video",
"Topic :: Utilities",
]
dependencies = [
"curl_cffi==0.15.0",
"imdbinfo==0.9.1",
"num2words==0.5.14",
"packaging==26.2",
"PySide6==6.11.1",
"PySide6-Fluent-Widgets==1.11.2",
"rich==15.0.0",
"selectolax==0.4.10",
]
description = "Subsearch"
dynamic = ["version"]
keywords = [
"subtitles",
"sub",
"srt",
"tool",
"tools",
"download",
"movies",
"shows",
"scrape",
"opensubtitles",
"subsearch",
"subsource",
"yifysubtitles",
"tvsubtitles",
"gestdown",
]
license = "GPL-3.0-or-later"
license-files = ["LICENSE", "THIRD-PARTY-LICENSES.md"]
name = "Subsearch"
readme = "README.md"
requires-python = ">=3.14"
[project.urls]
repository = "https://github.com/vagabondHustler/subsearch"
[project.scripts]
subsearch = "subsearch:main"
[tool.setuptools]
platforms = ["win32"]
zip-safe = false
[tool.setuptools.packages.find]
exclude = ["examples*", "subsearch.test*", "tools*"]
include = ["subsearch*"]
where = ["src"]
[tool.setuptools.dynamic]
version = {attr = "subsearch.runtime.config.version.__version__"}
[project.optional-dependencies]
all = ["Subsearch[build,lint,tests,tools,type]"]
build = [
"build==1.5.0",
"cx_Freeze==8.6.4",
"twine==6.2.0",
"psutil==7.2.2",
]
lint = ["black==26.5.1", "isort==8.0.1"]
tests = [
"pytest-cov==7.1.0",
"pytest==9.1.1",
"pytest-qt==4.5.0",
"tox==4.56.1",
"python-dotenv==1.2.2",
]
tools = [
"commitizen==4.16.4",
"pre-commit==4.6.0",
"pillow==12.2.0",
"pyinstrument==5.1.2",
"viztracer==1.1.1",
]
type = ["mypy==2.1.0"]
[tool.pytest.ini_options]
addopts = "--cov=src/subsearch"
filterwarnings = ['ignore::DeprecationWarning']
log_cli = true
log_cli_level = 'DEBUG'
testpaths = ["tests"]
[project.entry-points."commitizen.plugin"]
SubsearchCz = "tools.cz_subsearch:SubsearchCz"
[tool.commitizen]
name = "SubsearchCz"
template = "changelog_template.md.j2"
version = "3.1.0"
tag_format = "$version"
ignored_tag_pattern = ".*[^0-9.].*"
update_changelog_on_bump = false
annotated_tag = true
version_files = [
"src/subsearch/runtime/config/version.py:__version__",
]
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
[tool.mypy]
check_untyped_defs = true
ignore_missing_imports = false
mypy_path = "src"
warn_no_return = true
warn_return_any = true
exclude_gitignore = true
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = [
"imdbinfo.*",
"num2words.*",
"qfluentwidgets.*",
"setuptools.*",
]
ignore_missing_imports = true