Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (46 loc) · 1.53 KB
/
Copy pathpyproject.toml
File metadata and controls
53 lines (46 loc) · 1.53 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
[project]
name = "partial-python"
version = "0.1.0a1"
description = "Append-only Python parsing and incremental execution"
readme = "README.md"
requires-python = ">=3.11"
dependencies = []
[project.urls]
Repository = "https://github.com/promplate/partial-python"
Documentation = "https://github.com/promplate/partial-python/blob/main/docs/api.md"
[build-system]
requires = ["uv_build>=0.7.19,<0.14"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"pytest>=8",
"pytest-asyncio>=0.24",
"hypothesis>=6",
"ruff~=0.17.3",
"basedpyright>=1.40.2",
]
[tool.pytest.ini_options]
pythonpath = ["src", "."]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
testpaths = ["tests"]
[tool.ruff]
line-length = 200
target-version = "py311"
[tool.ruff.lint]
# Keep extensions disjoint from Ruff 0.17 defaults; recheck when upgrading.
extend-select = [
"UP013", "UP015", "UP042",
"W191", "W291", "W292", "W293",
"FURB110", "FURB116", "FURB164", "FURB171", "FURB187",
"C416", "C420",
"ISC001", "ISC002", "ISC003",
"PTH100", "PTH101", "PTH102", "PTH103", "PTH104", "PTH105", "PTH106", "PTH107", "PTH108", "PTH109", "PTH110", "PTH111", "PTH112", "PTH113", "PTH114", "PTH115", "PTH116",
"PTH117", "PTH118", "PTH119", "PTH120", "PTH121", "PTH122", "PTH123", "PTH201", "PTH202", "PTH203", "PTH204", "PTH205", "PTH206", "PTH207", "PTH208", "PTH211",
"RSE102",
]
[tool.pyright]
include = ["src/partial_python"]
pythonVersion = "3.11"
typeCheckingMode = "standard"
reportUnnecessaryTypeIgnoreComment = "error"