-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (99 loc) · 2 KB
/
Copy pathpyproject.toml
File metadata and controls
112 lines (99 loc) · 2 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[build-system]
requires = ["uv_build>=0.12.5,<0.13.0"]
build-backend = "uv_build"
[project]
name = "fgraph"
version = "1.2.0"
description = "Embedded temporal fact store in a single SQLite file"
readme = "README.md"
requires-python = ">=3.12"
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "Médéric Hurier" }]
dependencies = [
"mcp==2.1.1",
"pywin32==312; sys_platform == 'win32'",
"typer==0.27.1",
]
[project.urls]
Documentation = "https://fmind.github.io/fgraph/"
Issues = "https://github.com/fmind/fgraph/issues"
Repository = "https://github.com/fmind/fgraph"
[project.scripts]
fgraph = "fgraph.cli:main"
[dependency-groups]
dev = [
"build==1.5.0",
"hypothesis==6.165.10",
"pip-audit==2.10.1",
"pytest==9.1.1",
"pytest-cov==7.1.0",
"ruff==0.16.4",
"ty==0.0.74",
"validate-pyproject==0.26",
]
[tool.pytest.ini_options]
addopts = "-ra --strict-config --strict-markers"
testpaths = ["tests"]
filterwarnings = ["error"]
xfail_strict = true
[tool.coverage.run]
branch = true
source = ["fgraph"]
[tool.coverage.report]
precision = 2
show_missing = true
skip_covered = true
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.format]
docstring-code-format = true
line-ending = "lf"
quote-style = "double"
[tool.ruff.lint]
select = [
"A",
"ARG",
"ASYNC",
"B",
"C4",
"E",
"ERA",
"F",
"FA",
"FURB",
"I",
"ISC",
"LOG",
"N",
"PERF",
"PGH",
"PIE",
"PTH",
"PT",
"Q",
"RET",
"RSE",
"RUF",
"S",
"SIM",
"SLF",
"T10",
"T20",
"TID",
"UP",
"W",
]
ignore = ["ASYNC240", "E501"]
[tool.ruff.lint.isort]
known-first-party = ["fgraph"]
[tool.ruff.lint.per-file-ignores]
"src/fgraph/__init__.py" = ["A004"] # Public error name is normative.
"src/fgraph/errors.py" = ["N818"] # SPEC error taxonomy omits the Error suffix.
"src/fgraph/store.py" = ["SLF001"] # Db builds lightweight views of its own private state.
"tests/**/*.py" = ["S101", "T201"]
[tool.ty.environment]
extra-paths = ["./tests"]
python-version = "3.12"
root = ["./src"]