-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
121 lines (108 loc) · 2.87 KB
/
pyproject.toml
File metadata and controls
121 lines (108 loc) · 2.87 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
[project]
name = "cloudtree"
authors = [{ name = "Marc", email = "mail@mail.com" }]
readme = "README.md"
requires-python = ">=3.9"
dynamic = ["version"]
dependencies = [
"fsspec>=2023.10.0",
"typer",
"universal-pathlib",
"pathspec",
"termcolor>=2.4.0",
]
description = "Like unix tree command but with remote-storage support by using fsspec"
classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Typing :: Typed",
"Development Status :: 4 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
]
[project.urls]
Homepage = "https://github.com/marcm-ml/cloudtree"
Documentation = "https://github.com/marcm-ml/cloudtree/README.md"
Repository = "https://github.com/marcm-ml/cloudtree"
Issues = "https://github.com/marcm-ml/cloudtree/issues"
Changelog = "https://github.com/marcm-ml/cloudtree/CHANGELOG.md"
# dependencies
[project.optional-dependencies]
abfs = ["fsspec[abfs]"]
adl = ["fsspec[adl]"]
dropbox = ["fsspec[dropbox]"]
gcs = ["fsspec[gcs]"]
git = ["fsspec[git]"]
github = ["fsspec[github]"]
gs = ["fsspec[gs]"]
hdfs = ["fsspec[hdfs]"]
fuse = ["fsspec[fuse]"]
arrow = ["fsspec[arrow]"]
http = ["fsspec[http]"]
sftp = ["fsspec[sftp]"]
s3 = ["fsspec[s3]"]
smb = ["fsspec[smb]"]
ssh = ["fsspec[ssh]"]
full = ["fsspec[full]"]
[tool.uv]
index-url = "https://pypi.python.org/simple"
dev-dependencies = ["pytest", "ruff"]
# linting
[tool.ruff]
line-length = 120
fixable = ["ALL"]
extend-include = ["*.ipynb"]
[tool.ruff.lint]
select = ["F", "E", "W", "I", "N", "D", "UP", "PT", "PTH"]
ignore = [
"E203",
"D100",
"D104",
"D105",
"D200",
"D202",
"D205",
"D212",
"D403",
"D415",
]
[tool.ruff.format]
docstring-code-format = true
skip-magic-trailing-comma = true
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.isort]
split-on-trailing-comma = false
# testing
[tool.coverage.run]
parallel = true
source = ["src"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"@overload",
'if __name__ == "__main__":',
"if TYPE_CHECKING:",
]
# building
[project.scripts]
cloudtree = "cloudtree.main:main"
[tool.pdm]
version = { source = "file", path = "src/cloudtree/__init__.py" }
distribution = true
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"