-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
74 lines (61 loc) · 1.79 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
[project]
name = "deltalake-tools"
version = "0.2.0"
description = "A set of easy to use convenient tools for deltalake tables. "
authors = [{ name = "jeroenflvr", email = "[email protected]" }]
license = { text = "Apache-2.0" }
dependencies = [
"pydantic>=2.9.2",
"deltalake>=0.21.0",
"click>=8.1.7",
"boto3>=1.35.71",
]
readme = "README.md"
requires-python = ">= 3.10"
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[project.scripts]
"deltalake-tools" = "deltalake_tools:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"pytest>=8.2.2",
"pyarrow>=18.0.0",
"requests>=2.32.3",
"pandas>=2.2.2",
"pytest-cov>=6.0.0",
"coverage>=7.6.0",
"boto3>=1.34.144",
"moto[server,s3]>=5.0.11",
"twine>=5.1.1",
"sphinx>=8.1.3",
"sphinx-rtd-theme>=3.0.1",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/deltalake_tools"]
[tool.ruff.lint]
# 1. Enable flake8-bugbear (`B`) rules, in addition to the defaults.
select = ["E4", "E7", "E9", "F", "B"]
# 2. Avoid enforcing line-length violations (`E501`)
ignore = ["E501", "C0115"]
# 3. Avoid trying to fix flake8-bugbear (`B`) violations.
unfixable = ["B"]
# 4. Ignore `E402` (import violations) in all `__init__.py` files, and in select subdirectories.
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402"]
"**/{tests,docs,tools}/*" = ["E402"]
[tool.ruff.format]
# 5. Use single quotes in `ruff format`.
quote-style = "single"
[tool.pytest.ini_options]
filterwarnings = ["ignore::DeprecationWarning"]
addopts = "--cov=myproject --cov-report html"