-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
58 lines (49 loc) · 1.36 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
[project]
name = "packio"
version = "0.1.0"
description = "IO for multiple python objects to/from a single file"
authors = [{ name = "Zach Kurtz", email = "[email protected]" }]
readme = "README.md"
requires-python = ">=3.10"
[dependency-groups]
dev = [
"pre-commit >=3.8.0",
"pyright >=1.1.378",
"ruff >=0.6.3",
"pytest >=8.3.2",
"sphinx>=8.1.3",
"sphinx-rtd-theme>=3.0.2",
"pandas>=2.2.3",
"dummio>=1.1.0",
"fastparquet>=2024.11.0",
]
[project.urls]
Source = "https://github.com/zkurtz/packio"
[tool.uv]
package = true
[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"]
[tool.pyright]
include = ["packio", "tests"]
[tool.pytest.ini_options]
testpaths = ["tests"]