-
Notifications
You must be signed in to change notification settings - Fork 59
/
pyproject.toml
74 lines (65 loc) · 1.99 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "cloudpathlib"
version = "0.20.0"
description = "pathlib-style classes for cloud storage services."
readme = "README.md"
authors = [{ name = "DrivenData", email = "info@drivendata.org" }]
license = { file = "LICENSE" }
keywords = [
"pathlib",
"cloud storage",
"s3",
"azure blob storage",
"google cloud storage",
]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.8"
dependencies = [
"typing_extensions>4 ; python_version < '3.11'",
]
[project.optional-dependencies]
azure = ["azure-storage-blob>=12", "azure-storage-file-datalake>=12"]
gs = ["google-cloud-storage"]
s3 = ["boto3>=1.34.0"]
all = ["cloudpathlib[azure]", "cloudpathlib[gs]", "cloudpathlib[s3]"]
[project.urls]
"Repository" = "https://github.com/drivendataorg/cloudpathlib"
"Documentation" = "https://cloudpathlib.drivendata.org/"
"Bug Tracker" = "https://github.com/drivendataorg/cloudpathlib/issues"
"Changelog" = "https://cloudpathlib.drivendata.org/stable/changelog/"
[tool.black]
line-length = 99
target-version = ['py38', 'py39', 'py310', 'py311', 'py312', 'py313']
include = '\.pyi?$|\.ipynb$'
extend-exclude = '''
/(
\.git
| \.venv
| \.ipynb_checkpoints
| docs/docs/script
)/
'''
[tool.mypy]
allow_redefinition = true
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov=cloudpathlib --cov-report=term --cov-report=html --cov-report=xml -n=auto --report-log reportlog.jsonl"
testpaths = ["tests"]
[tool.coverage.run]
source = ["cloudpathlib"]
omit = ["cloudpathlib/legacy/glob.py"]