forked from Cyberdrop-DL/cyberdrop-dl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
147 lines (133 loc) · 3.7 KB
/
pyproject.toml
File metadata and controls
147 lines (133 loc) · 3.7 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
142
143
144
145
146
147
[project]
name = "cyberdrop-dl-patched"
authors = [{name = "Jacob B", email = "admin@script-ware.net"}]
dependencies = [
"aiofiles >=24.1.0",
"aiohttp-client-cache >=0.13.0",
"aiohttp[speedups] >=3.12.13",
"aiolimiter >=1.2.1",
"aiosqlite==0.17.0",
"apprise >=1.9.3",
"arrow >=1.3.0",
"asyncpraw >=7.8.1",
"beautifulsoup4 >=4.13.4",
"browser-cookie3 >=0.20.1",
"certifi >=2025.7.14",
"curl-cffi >=0.10,<0.11; implementation_name=='cpython'",
"dateparser >=1.2.2",
"get-video-properties >=0.1.1",
"inquirerpy >=0.3.4",
"m3u8 >=6.0.0",
"mediafire >=0.6.1",
"myjdapi >=1.1.10",
"packaging >=25.0",
"pillow >=11.3.0",
"platformdirs >=4.3.6",
"psutil >=7.0.0",
"pydantic >=2.11.7",
"pywin32>=308 ; sys_platform == 'win32'",
"pyyaml >=6.0.2",
"rich >=14.0.0",
"send2trash >=1.8.3",
"truststore >=0.10.1",
"xxhash >=3.5.0"
]
description = "Bulk downloader for multiple file hosts"
license = {text = "GPL-3.0-only"}
readme = "README.md"
requires-python = ">=3.11,<4"
version = "7.2.1"
[project.scripts]
cyberdrop-dl = "cyberdrop_dl.main:main"
cyberdrop-dl-patched = "cyberdrop_dl.main:main"
[project.urls]
Changelog = "https://github.com/jbsparrow/CyberDropDownloader/blob/master/CHANGELOG.md"
Documentation = "https://script-ware.gitbook.io/cyberdrop-dl/"
Repository = "https://github.com/jbsparrow/CyberDropDownloader"
[tool.coverage.report]
exclude_also = [
'@(abc\.)?abstractmethod',
'class .*\bProtocol\):',
'if __name__ == .__main__.:',
'if env.DEBUG_VAR:',
'if TYPE_CHECKING:'
]
[tool.coverage.run]
omit = [
"tests/*"
]
[tool.poetry]
include = ["CHANGELOG.md"]
packages = [{include = "cyberdrop_dl"}]
requires-poetry = ">=2.0"
[tool.poetry.group.dev.dependencies]
pre-commit = ">=4.0.1,<5"
py-markdown-table = "^1.3.0"
ruff = ">=0.12.0"
snakeviz = "^2.2.2"
tox = "^4.24.1"
[tool.poetry.group.test.dependencies]
pytest = ">=8.3.4,<9"
pytest-asyncio = ">=0.25.0,<0.26"
pytest-cov = ">=6.0.0,<7"
pytest-mock = "*"
[tool.pytest.ini_options]
addopts = ["-s"]
asyncio_default_fixture_loop_scope = "function"
asyncio_mode = "auto"
minversion = "8.3"
testpaths = ["tests"]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = [
"ASYNC", # async calls that do not await anything or use blocking methods
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"COM8", # flake8-commas linter
"E", # pycodestyle errors
"F", # pyflakes
"FA102", # future annotations
"FURB188", # slice-to-remove-prefix-or-suffix
"I", # isort
"N", # PEP8 naming conventions
"PLR1716", # boolean chained comparison
"PTH", # use pathlib instead of os
"Q", # flake8-quotes
"RUF", # RUF specific fixes
"T20", # flake8-print
"TC", # flake8-type-checking
"TID", # flake8-tidy-imports
"UP", # pyupgrade
"W" # pycodestyle warnings
]
extend-safe-fixes = [
"TC" # move import from and to TYPE_CHECKING blocks
]
ignore = [
"COM812", # missing-trailing-comma
"E501", # suppress line-too-long, let formatter decide
"N806" # uppercase variables in functions
]
unfixable = [
"ERA" # do not autoremove commented out code
]
[tool.ruff.lint.per-file-ignores]
"**/{tests,docs}/*" = [
"E402", # imports not at the top of the file.
"T20" # flake8-print
]
"__init__.py" = ["E402"] # imports not at the top of the file.
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.tomlsort]
all = true
ignore_case = true
in_place = true
sort_first = ["name", "project", "select", "tool"]
spaces_before_inline_comment = 2
spaces_indent_inline_array = 4
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]