-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (72 loc) · 2.24 KB
/
pyproject.toml
File metadata and controls
80 lines (72 loc) · 2.24 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
[project]
description = "Method chaining for iterables and dictionaries in Python."
name = "pyochain"
readme = "README.md"
requires-python = ">=3.13"
version = "0.9.2"
dependencies = ["cytoolz>=1.0.1"]
classifiers = ["License :: OSI Approved :: MIT License"]
[dependency-groups]
dev = [
"cytoolz-stubs",
"memory-profiler>=0.61.0",
"mkdocstrings-python>=1.18.2",
"polars>=1.33.1",
"pydoclint>=0.8.1",
"pytest-doctest-mkdocstrings>=0.1.1",
"pytest-stubtester",
"pytest>=9.0.2",
"ruff>=0.14.9",
"toml>=0.10.2",
"typer>=0.21.1",
"zensical>=0.0.15",
]
[tool.ruff]
lint.external = ["DOC"]
lint.ignore = [
"C417",
"COM812",
"COM812",
"D401",
"E501",
"FIX002",
"PLC0415",
"PLR2004",
"PYI021",
"S101",
"S608",
"SLF001",
"T201",
"TC003",
"TC006",
"TD002",
"TD003",
"TID252",
]
lint.select = ["ALL"]
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pydoclint]
arg-type-hints-in-docstring = true
arg-type-hints-in-signature = true
check-class-attributes = true
check-raises = true
check-return-types = true
check-yield = true
require-arg-section = true
require-return-section = true
require-return-section-when-returning-nothing = false
skip-checking-short-docstrings = true
style = "google"
[tool.uv.sources]
cytoolz-stubs = { git = "https://github.com/OutSquareCapital/cytoolz-stubs.git" }
pytest-stubtester = { git = "https://github.com/OutSquareCapital/pytest-stubtester.git" }
[build-system]
build-backend = "maturin"
requires = ["maturin>=1.8,<2.0"]
[tool.maturin]
manifest-path = "rust/Cargo.toml"
module-name = "pyochain.rs"
python-source = "src"