-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
66 lines (57 loc) · 1.47 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
[project]
name = "dummio"
version = "1.5.0"
description = "Easiest-possible IO for basic file types."
authors = [{ name = "Zach Kurtz", email = "[email protected]" }]
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"universal-pathlib>=0.2.5",
]
[dependency-groups]
dev = [
"pre-commit >=3.8.0",
"pyright >=1.1.378",
"ruff >=0.7.4",
"pytest >=8.3.2",
"scikit-learn >=1.0.2",
"skl2onnx >=1.10.1",
]
extras = [
"fastparquet>=2024.11.0",
"pandas>=1.5.0",
"pyyaml>=6.0.2",
"onnx>=1.10.1",
"pydantic>=2.10.2",
"dill>=0.2.2",
]
[project.urls]
Source = "https://github.com/zkurtz/dummio"
[tool.uv]
package = true
[tool.pytest.ini_options]
testpaths = ["tests",]
[tool.pyright]
include = ["dummio", "tests"]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
# ruff defaults:
"E4", "E7", "E9", "F",
"I", # flake8-import-order
"TID", # flake8-tidy-imports
"D", # google-style docstrings
]
ignore = [
"D202", # would require one blank line after the last section of a multi-line docstring
"D203", # would require one blank line at start of class docstring
"D213", # would require multi-line docstring to start with a hard return
"D401", # would require imperative mood in docstring
"D413", # would put blank line at end of each multiline docstring
]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["D104"] # would require module-level documentation
"test_*.py" = ["D"]