forked from jbsparrow/CyberDropDownloader
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
125 lines (113 loc) · 3.45 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
[project]
name = "cyberdrop-dl-patched"
authors = [{name = "Jacob B", email = "[email protected]"}]
dependencies = [
"aiofiles (>=24.1.0,<25.0.0)",
"aiohttp (>=3.11.12,<4.0.0)",
"aiohttp-client-cache (>=0.12.4,<0.13.0)",
"aiolimiter (>=1.2.1,<2.0.0)",
"aiosqlite==0.17.0",
"apprise (>=1.9.2,<2.0.0)",
"arrow (>=1.3.0,<2.0.0)",
"asyncpraw (>=7.8.1,<8.0.0)",
"beautifulsoup4 (>=4.13.3,<5.0.0)",
"browser-cookie3 (>=0.20.1,<0.21.0)",
"certifi (>=2025.1.31,<2026.0.0)",
"filedate (>=3.0,<4.0)",
"get-video-properties (>=0.1.1,<0.2.0)",
"inquirerpy (>=0.3.4,<0.4.0)",
"mediafire (>=0.6.1,<0.7.0)",
"myjdapi (>=1.1.9,<2.0.0)",
"pillow (>=11.1.0,<12.0.0)",
"platformdirs (>=4.3.6,<5.0.0)",
"pydantic (>=2.10.6,<3.0.0)",
"pywin32>=308 ; sys_platform == 'win32'",
"pyyaml (>=6.0.2,<7.0.0)",
"rich (>=13.9.4,<14.0.0)",
"send2trash (>=1.8.3,<2.0.0)",
"xxhash (>=3.5.0,<4.0.0)"
]
description = "Bulk downloader for multiple file hosts"
license = {text = "GPL-3.0-only"}
readme = "README.md"
requires-python = ">=3.11,<4"
version = "6.6.0rc1"
[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.poetry]
include = ["CHANGELOG.md"]
packages = [{include = "cyberdrop_dl"}]
requires-poetry = ">=2.0"
[tool.poetry.group.dev.dependencies]
pre-commit = ">=4.0.1,<5"
ruff = "0.9.6"
snakeviz = "^2.2.2"
[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]
asyncio_default_fixture_loop_scope = "module"
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"]