-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
93 lines (73 loc) · 1.72 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
[build-system]
requires = ["flit_core >=3.7.1,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "upathlib"
authors = [
{name = "Zepu Zhang", email = "[email protected]"},
]
dependencies = [
"filelock >= 3.9.1",
"deprecation",
"tqdm",
"typing-extensions",
"zstandard",
]
requires-python = ">=3.10"
readme = "README.rst"
license = {file = "LICENSE"}
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dynamic = ['version', 'description']
[project.urls]
Source = "https://github.com/zpz/upathlib"
[project.optional-dependencies]
abs = [
"azure-storage-blob >=12.9.0,<13.0",
]
gcs = [
"cloudly[gcp]",
"google-api-python-client >=2.13.9,<3.0",
"google-cloud-storage >=2.0,<3.0",
"google-api-core >= 2.12.0",
"requests",
]
doc = [
"sphinx",
"numpydoc",
"pydata-sphinx-theme",
]
test = [
"black",
"mypy",
"numpy",
"pytest-mock",
"ruff",
"lz4",
"orjson",
]
[tool.flit.module]
name = "upathlib"
# See https://beta.ruff.rs/docs/rules/
[tool.ruff]
target-version = "py310"
exclude = ["tests/benchmarks"]
[tool.ruff.lint]
select = ["E", "F", "S", "I001"] # isort
ignore = ["E501", "S101", "S102", "S103", "S104", "S108", "S301", "S311", "S608"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F401"]
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
addopts = "-sv --log-cli-level info -p no:cacheprovider --tb short --ignore tests/benchmarks --durations 3"
[tool.coverage.report]
fail_under = 70
show_missing = true
skip_empty = true
[tool.coverage.run]
source = ["upathlib"]
data_file = "/tmp/.coverage"