-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (63 loc) · 1.44 KB
/
pyproject.toml
File metadata and controls
72 lines (63 loc) · 1.44 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
[build-system]
requires = ["hatchling>=1.27.0"]
build-backend = "hatchling.build"
[project]
name = "libtestvim"
version = "0.1.0"
description = "Hermetic Vim harnessing, profiling, and benchmark tooling."
readme = "README.md"
requires-python = ">=3.13"
license = "MIT"
dependencies = [
"pydantic>=2.11.7,<3.0",
]
[project.optional-dependencies]
mcp = [
"fastmcp>=3.0.0",
]
tmux = [
"libtmux>=0.55.0",
]
[project.scripts]
testvim = "libtestvim.cli:main"
[dependency-groups]
test = [
"pytest>=9.0.2",
"libtmux>=0.55.0",
"fastmcp>=3.0.0",
]
lint = [
"ruff>=0.11",
]
[tool.ruff]
target-version = "py313"
line-length = 130
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
"PIE", # flake8-pie
"RUF", # ruff-specific
]
[tool.ruff.lint.isort]
known-first-party = ["libtestvim"]
required-imports = ["from __future__ import annotations"]
[tool.ruff.lint.per-file-ignores]
"*/__init__.py" = ["F401"]
"src/libtestvim/mcp_server.py" = ["I002"]
[tool.pytest.ini_options]
addopts = "-ra"
minversion = "8.0"
testpaths = ["tests/pytest"]
pythonpath = ["src"]
markers = [
"core: fast hermetic Vimscript suites run in Ex mode",
"integration: hermetic plugin and executable integration suites",
"tmux: terminal-backed smoke tests using libtmux",
"benchmark: startup benchmark runs and artifact generation",
]