-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
83 lines (75 loc) · 1.81 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
[tool.pdm]
[project]
name = "tensordb"
version = "0.32.4"
description = "Database based in a file system storage combined with Xarray and Zarr"
keywords = ["Database Files Xarray Handler Zarr Store Read Write Append Update Upsert Backup Delete S3"]
readme = "README.md"
authors = [
{ name = "Joseph Nowak", email = "josephgonowak97@gmail.com" },
]
classifiers = [
"Development Status :: 1 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: General",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Programming Language :: Python :: 3.9",
]
dependencies = [
"dask[complete]>=2024.0.0",
"loguru>=0.7.0",
"more-itertools>=10.0.0",
"numbagg>=0.8.0",
"numpy>=1.26.0",
"orjson>=3.0.0",
"pandas>=2.0.0",
"pydantic>=2.0.0",
"xarray[accel]>=2023.0.0",
"zarr>=2.0.0",
"numba>=0.60.0"
]
requires-python = ">=3.11"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project.optional-dependencies]
dev = [
"ruff",
"pytest",
"pytest-cov",
"pytest-env",
"pytest-xdist",
"sphinx",
]
[tool.ruff]
[tool.ruff.lint]
# E402: module level import not at top of file
# E501: line too long - let black worry about that
# E731: do not assign a lambda expression, use a def
extend-safe-fixes = [
"TID252", # absolute imports
]
ignore = [
"E402",
"E501",
"E731",
"UP007",
"UP038"
]
extend-select = [
"B", # flake8-bugbear
"F", # Pyflakes
"E", # Pycodestyle
"W",
"TID", # flake8-tidy-imports (absolute imports)
"I", # isort
"UP", # Pyupgrade
]
[tool.ruff.lint.per-file-ignores]
# don't enforce absolute imports
[tool.ruff.lint.isort]
known-first-party = ["tensordb"]
[tool.ruff.lint.flake8-tidy-imports]
# Disallow all relative imports.
ban-relative-imports = "all"