-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (55 loc) · 1.52 KB
/
pyproject.toml
File metadata and controls
64 lines (55 loc) · 1.52 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
[project]
name = "finch-tensor"
version = "0.2.14"
description = "Sparse Tensor Programming in Python powered by Finch.jl"
readme = "README.md"
authors = [{name = "Willow Ahrens", email = "willow.marie.ahrens@gmail.com"}]
requires-python = ">=3.11,<4.0"
dependencies = [
"juliapkg (>=0.1.16,<0.2.0)",
"numpy (>=1.19,<2.4)",
"numba>=0.61,<0.63.1",
"juliacall (>=0.9.24,<0.10.0)",
"lark (>=1.3.0,<2.0.0)",
]
[tool.poetry]
packages = [{include = "finch", from = "src"}]
requires-poetry = ">=2.0,<3.0"
[project.optional-dependencies]
test = [
"pytest>=7.4.4,<7.6",
"pre-commit>=3.6.0,<3.9",
"pytest-cov>=4.1.0,<4.2",
"sparse>=0.17.0,<0.17.1",
"scipy>=1.7,<1.17",
"hypothesis (>=6.151.9,<7.0.0)",
"ndindex (>=1.10.1,<2.0.0)",
"pytest-json-report (>=1.5.0,<2.0.0)",
]
[build-system]
requires = ["poetry-core>=1.0.8"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = ["F", "E", "W", "I", "B", "UP", "YTT", "BLE", "C4", "T10", "ISC", "ICN", "PIE", "PYI", "RSE", "RET", "SIM", "PGH", "FLY", "NPY", "PERF", "RUF022"]
ignore = ["PYI024"]
[tool.ruff.lint.isort.sections]
numpy = ["numpy", "numpy.*", "scipy", "scipy.*"]
pytest = ["pytest", "pytest.*"]
[tool.ruff.format]
quote-style = "double"
docstring-code-format = true
[tool.ruff.lint.isort]
section-order = [
"future",
"standard-library",
"pytest",
"numpy",
"third-party",
"first-party",
"local-folder",
]
[tool.mypy]
ignore_missing_imports = true
exclude = ["tests/reference"]