-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpyproject.toml
98 lines (84 loc) · 2.55 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
94
95
96
97
98
[build-system]
requires = ["setuptools", "setuptools-scm", "wheel"]
[tool.setuptools_scm]
# Do not use version_scheme = "post-release", to be consistent with previous versioning
[project]
name = "plateau"
description = "A Python library to manage (create, read, update, delete) large amounts of tabular data in a blob store."
authors = [
{ name = "Data Engineering Collective", email = "[email protected]" },
]
dynamic = ["version"]
readme = "README.md"
license = { file = "LICENSE.txt" }
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"dask[dataframe]!=2021.5.1,!=2021.6.0", # gh475 - 2021.5.1 and 2021.6.0 broke ci, omit those versions
"decorator",
"msgpack>=0.5.2",
"numpy>1.23,<3",
"pandas>=2",
"pyarrow>=14",
"simplejson",
"minimalkv>=1.4.2",
"toolz",
"urlquote>=1.1.3",
"zstandard",
"attrs",
"click",
"prompt-toolkit",
"pyyaml",
]
requires-python = ">=3.10"
urls = { Repository = "https://github.com/data-engineering-collective/plateau" }
[tool.setuptools.packages.find]
include = ["plateau*"] # include all (sub-)packages starting with "plateau"
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
no_implicit_optional = true
check_untyped_defs = true
plugins = "numpy.typing.mypy_plugin"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--strict-markers"
filterwarnings = [
"once::DeprecationWarning",
"once::PendingDeprecationWarning",
"ignore:.*(Generated\\sarray\\selement).*:FutureWarning:hypothesis.extra.numpy",
]
markers = [
"min_metadata_version(version): specify minimum metadata version this test applies to",
]
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
ignore = ["E203", "E266", "E501", "C901", "N806"]
select = ["B", "C", "E", "F", "W", "B9", "I001", "I", "UP", "N"]
[tool.ruff.lint.isort]
force-wrap-aliases = true
combine-as-imports = true
known-first-party = ["plateau"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D101", "D102", "D103", "E402"]
"tests/io_components/test_metapartition.py" = ["B018"]
"tests/io_components/test_dataset_metadata_factory.py" = ["B018"]
"tests/serialization/test_io_buffer.py" = ["B018"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.typos]
#files.extend-exclude = ["tests/storefact"]
[tool.typos.default.extend-words]
ser = "ser"
fo = "fo"
missings = "missings"