-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (53 loc) · 1.49 KB
/
pyproject.toml
File metadata and controls
62 lines (53 loc) · 1.49 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
[project]
name = "finch-tensor-lite"
description = ""
version = "0.3.0"
readme = "README.md"
authors = [{name = "Willow Ahrens", email = "willow.marie.ahrens@gmail.com"}]
requires-python = '>=3.11,<3.14'
dependencies = ['numpy>=1.19,<2.4', 'numba>=0.61,<0.63.1', 'donfig>=0.8.1.post1,<0.9.0', "lark (>=1.3.0,<2.0.0)"]
[tool.poetry]
packages = [{include = "finchlite", 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",
"mypy==1.15.*",
"pytest-mypy==1.*",
"pytest-regressions~=2.8.1",
]
[build-system]
requires = ["poetry-core>=1.0.8"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
extend-exclude = [
"tests/reference",
"src/finchlite/codegen/stc",
]
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", "src/finchlite/codegen/stc"]