forked from kylebarron/object-store-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (72 loc) · 1.67 KB
/
pyproject.toml
File metadata and controls
83 lines (72 loc) · 1.67 KB
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.poetry]
name = "object-stores"
version = "0.1.0"
description = "Python bindings and integrations for the rust object_store crate."
authors = ["Robert Pack <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.8,<3.13"
object-store-python = { path = "object-store/", develop = true, extras = [
"pyarrow",
"mlflow",
] }
[tool.poetry.group.dev.dependencies]
black = { version = "^22.12", extras = ["jupyter"] }
maturin = "^0.14"
pre-commit = "^2.20.0"
pytest = "^7.1.3"
pytest-datadir = ">=1.3.1"
ipykernel = ">=6.15.2"
pytest-cov = "^4.0.0"
# pinned to match .pre-commit-config.yaml
ruff = "0.2.1"
pytest-benchmark = "^4.0.0"
[tool.poetry.group.examples.dependencies]
duckdb = "^0.9.0"
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.4"
mkdocs-material = "^9"
mkdocstrings = { version = "^0.20", extras = ["python"] }
[tool.black]
color = true
line-length = 120
target-version = ['py38', 'py39', 'py310', 'py311']
include = '\.pyi?$'
[tool.ruff]
exclude = [
'__pycache__',
'.git',
'.ipynb_checkpoints',
'.venv',
'.tox',
'.mypy_cache',
'.pytest_cache',
'.vscode',
'.github',
'build',
'dist',
'typestubs',
'*.pyi',
]
line-length = 120
[tool.ruff.lint]
ignore = ['E501']
select = ['B', 'C4', 'E', 'F', "I", "S", 'W']
[tool.ruff.lint.per-file-ignores]
# allow asserts in test files (bandit)
"test_*" = ["S101"]
[tool.ruff.lint.isort]
known-first-party = ["object_store"]
[tool.pyright]
reportUnnecessaryTypeIgnoreComment = true
venvPath = "."
venv = ".venv"
[tool.coverage.report]
fail_under = 85
exclude_lines = [
"pragma: no cover",
"@overload",
"except ImportError",
"if TYPE_CHECKING:",
"from typing_extensions import ",
]