-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (52 loc) · 1.77 KB
/
Copy pathpyproject.toml
File metadata and controls
58 lines (52 loc) · 1.77 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
[project]
name = "claude-plugins"
version = "0"
requires-python = ">=3.13"
[tool.ruff]
target-version = "py311"
[tool.pyright]
pythonVersion = "3.11"
extraPaths = [
"plugins/code/tools/python",
"plugins/code/skills/plan-validate/scripts",
"plugins/code-review/tools/python",
]
# Per-plugin execution environments isolate import resolution so each plugin's
# conftest.py and same-directory modules resolve correctly without colliding
# with other plugins' identically-named files (e.g. conftest.py).
[[tool.pyright.executionEnvironments]]
root = "plugins/code-review/tools/python"
extraPaths = ["plugins/code-review/tools/python"]
[[tool.pyright.executionEnvironments]]
root = "plugins/code/tools/python"
extraPaths = [
"plugins/code/tools/python",
"plugins/code/skills/plan-validate/scripts",
]
[[tool.pyright.executionEnvironments]]
root = "plugins/code/skills/plan-validate/scripts"
extraPaths = ["plugins/code/skills/plan-validate/scripts"]
# Dev/CI dependencies are managed by uv (PEP 735 dependency groups).
# uv.lock is the source of truth — full transitive resolution + sha256
# hashes — and CI installs with `uv sync --frozen --group dev` so any
# tampered tarball/wheel on PyPI fails the install (mitigation for the
# Shai-Hulud / TanStack-style npm + PyPI worm wave).
#
# To bump or add a dep: edit the version below, then run `uv lock` to
# regenerate uv.lock.
#
# Direct dependencies used by CI jobs:
# - ruff: linting (lint job)
# - pyright: type checking (typecheck job)
# - pytest: test runner (test job)
# - anthropic, mcp: imported by plugins under test
# - PyYAML: parsing plugin/skill metadata in tests
[dependency-groups]
dev = [
"anthropic==0.92.0",
"mcp==2.0.0",
"pyright==1.1.408",
"pytest==9.0.3",
"PyYAML==6.0.3",
"ruff==0.15.9",
]