Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (100 loc) · 2.82 KB
/
Copy pathpyproject.toml
File metadata and controls
114 lines (100 loc) · 2.82 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
[build-system]
requires = ["hatchling>=1.20.0", "hatch-vcs", "hatch-fancy-pypi-readme"]
build-backend = "hatchling.build"
[project]
name = "gdown"
description = "Google Drive Public File/Folder Downloader"
license = { text = "MIT" }
requires-python = ">=3.10"
authors = [{ name = "Kentaro Wada", email = "www.kentaro.wada@gmail.com" }]
keywords = ["google-drive", "download", "wget", "curl"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"beautifulsoup4",
"filelock",
"requests[socks]",
"urllib3",
"tqdm",
"typing_extensions>=4.0; python_version < '3.12'",
]
dynamic = ["readme", "version"]
[project.optional-dependencies]
secretstorage = ["secretstorage"]
[project.scripts]
gdown = "gdown.__main__:main"
[project.urls]
Homepage = "https://github.com/wkentaro/gdown"
[dependency-groups]
dev = [
"gruff>=0.0.10",
"mdformat>=0.7.17",
"pytest>=8.3.5",
"pytest-xdist>=3.6.1",
"ruff>=0.15.10",
"taplo>=0.9.3",
"towncrier>=24.8",
"ty>=0.0.29",
"typos>=1.45.0",
"yamlfix>=1.16.1",
]
[tool.towncrier]
directory = "changelog.d"
filename = "CHANGELOG.md"
title_format = "## {version} - {project_date}"
issue_format = "[#{issue}](https://github.com/wkentaro/gdown/pull/{issue})"
ignore = ["README.md"]
type = [
{ directory = "added", name = "Added", showcontent = true },
{ directory = "changed", name = "Changed", showcontent = true },
{ directory = "deprecated", name = "Deprecated", showcontent = true },
{ directory = "removed", name = "Removed", showcontent = true },
{ directory = "fixed", name = "Fixed", showcontent = true },
{ directory = "security", name = "Security", showcontent = true },
]
[tool.hatch.version]
source = "vcs"
[tool.hatch.metadata.hooks.fancy-pypi-readme]
content-type = "text/markdown"
fragments = [{ path = "README.md" }]
[tool.pytest.ini_options]
markers = ["network: tests that require network access (Google Drive, GitHub)"]
[tool.gruff.lint]
select = ["GR"]
[tool.ruff]
extend-exclude = ["gdown/_vendor/"]
[tool.ty.src]
exclude = ["gdown/_vendor/"]
[tool.ruff.lint]
extend-select = [
"ARG",
"B006",
"B008",
"FBT",
"PLC0415",
"PLR2004",
"RUF012",
"RUF022",
]
select = [
"ANN", # flake8-annotations
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
]
[tool.ruff.lint.isort]
force-single-line = true