-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (63 loc) · 1.51 KB
/
Copy pathpyproject.toml
File metadata and controls
73 lines (63 loc) · 1.51 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
[project]
name = "simplendarray"
version = "0.0.1a0"
description = "A simple jax-like array library for educational purposes."
readme = "README.md"
authors = [
{ name = "Vikram Rangarajan", email = "vikram.rangaraja@gmail.com" }
]
license = "MIT"
requires-python = ">=3.14"
dependencies = []
[tool.pyrefly]
search_path = ["src", "benchmark"]
project-includes = [
"**/*.py*",
"**/*.ipynb",
]
project-excludes = [
"**/*_stubs.py",
]
[tool.pyrefly.errors]
unused-ignore = "error"
[tool.ruff.lint]
extend-select = ["A", "E", "F", "I", "Q", "S", "W"]
ignore = ["PLR1722"]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S101"] # Allow asserts in tests
[tool.ruff]
line-length = 120
extend-exclude = ["**/*_stubs.py"]
[tool.coverage.run]
source = ["src/simplendarray"]
omit = ["**/*_stubs.py"]
context = "test"
[tool.coverage.html]
show_contexts = true
[tool.coverage.report]
exclude_also = [
"@.*\\.compile_fn\\(", # Excludes the kernel python functions themselves
]
[build-system]
requires = ["uv_build>=0.11,<0.12"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"altair>=6.2.2",
"hypothesis[numpy]>=6.156.1",
"mkdocs>=1.6.1",
"mkdocs-material>=9.7.6",
"mkdocstrings[python]>=1.0.4",
"plotly>=6.9.0",
"polars>=1.43.0",
"prek>=0.4.8",
"pyrefly>=1.1.1",
"pytest>=9.1.1",
"pytest-cov>=7.1.0",
"pytest-xdist[psutil]>=3.8.0",
"ruff>=0.16",
"torch>=2.13.0",
"torchaudio>=2.11.0",
"torchvision>=0.28.0",
"vl-convert-python>=1.9.0.post1",
]