-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
88 lines (76 loc) · 2.32 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
[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"
authors = [{ name = "data engineering collective" }]
dynamic = ["version"]
readme = "README.md"
license = { file = "LICENSE.txt" }
classifiers = [
"License :: OSI Approved :: MIT License", # According to LICENSE.txt
"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",
]
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.15.0,!=1.16.0',
'pandas>=0.23.0,!=1.0.0',
'pyarrow>=4',
'simplejson',
'minimalkv>=1.4.2',
'toolz',
'urlquote>=1.1.3',
'zstandard',
'attrs',
'click',
'prompt-toolkit',
'pyyaml'
]
requires-python = ">=3.8"
urls = {Repository = "https://github.com/data-engineering-collective/plateau"}
[tool.setuptools.packages.find]
include = ["plateau"]
[tool.mypy]
python_version = 3.8
ignore_missing_imports = true
no_implicit_optional = true
check_untyped_defs = true
plugins = "numpy.typing.mypy_plugin"
[tool.pytest.ini_options]
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 = "py38"
[tool.ruff.lint]
ignore = ["E203", "E266", "E501", "C901"]
select = ["B", "C", "E", "F", "W", "B9", "I001"]
[tool.ruff.lint.isort]
force-wrap-aliases = true
combine-as-imports = true
known-first-party = ["plateau"]
[tool.ruff.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.pydocstyle]
convention = "numpy"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"