Skip to content

Commit b836c40

Browse files
committed
restructure analysis directory for successful running on CI
1 parent f983b64 commit b836c40

23 files changed

Lines changed: 1913 additions & 15 deletions

.github/agents/maintainer.agent.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ tools:
5959
- `src/managers/` — Environment manager implementations (venv, conda, poetry, pipenv, pyenv, pixi, uv)
6060
- `src/features/` — Core features (terminal, settings, views, execution)
6161
- `src/common/` — Shared utilities and APIs
62-
- `analysis/` — Python scripts for codebase health snapshots
62+
- `code-analysis/` — Python scripts for codebase health snapshots
6363

6464
---
6565

@@ -283,12 +283,12 @@ Review complete when:
283283
284284
# Quick Reference Commands
285285
286-
| Task | Command |
287-
| ----------------- | ------------------------------------------------------ |
288-
| Unit tests | `npm run unittest` |
289-
| Lint | `npm run lint` |
290-
| Type check | `npm run compile-tests` |
291-
| Build extension | `npm run compile` |
292-
| Smoke tests | `npm run compile && npm run smoke-test` |
293-
| Generate snapshot | `cd analysis && python snapshot.py -o ./snapshot.json` |
294-
| Package VSIX | `npm run vsce-package` |
286+
| Task | Command |
287+
| ----------------- | -------------------------------------------------------------------- |
288+
| Unit tests | `npm run unittest` |
289+
| Lint | `npm run lint` |
290+
| Type check | `npm run compile-tests` |
291+
| Build extension | `npm run compile` |
292+
| Smoke tests | `npm run compile && npm run smoke-test` |
293+
| Generate snapshot | `cd code-analysis && python -m analysis.snapshot -o ./snapshot.json` |
294+
| Package VSIX | `npm run vsce-package` |

.github/skills/generate-snapshot/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ argument-hint: '--output path --pretty'
66

77
# Generate Codebase Snapshot
88

9-
This skill generates a comprehensive code health snapshot using the analysis modules in `analysis/`.
9+
This skill generates a comprehensive code health snapshot using the analysis modules in `code-analysis/analysis/`.
1010

1111
## When to Use
1212

.github/workflows/code-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: astral-sh/setup-uv@v4
2727

2828
- name: Install analysis dependencies
29-
working-directory: analysis
29+
working-directory: code-analysis
3030
run: |
3131
uv pip install --system .
3232
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Metadata-Version: 2.4
2+
Name: analysis
3+
Version: 0.1.0
4+
Summary: Code health and technical debt analysis tools
5+
Requires-Python: >=3.9
6+
Requires-Dist: radon>=6.0.0
7+
Requires-Dist: pathspec>=0.11.0
8+
Provides-Extra: dev
9+
Requires-Dist: pytest>=7.0.0; extra == "dev"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
pyproject.toml
2+
analysis/__init__.py
3+
analysis/complexity_analysis.py
4+
analysis/debt_indicators.py
5+
analysis/dependency_analysis.py
6+
analysis/file_discovery.py
7+
analysis/git_analysis.py
8+
analysis/snapshot.py
9+
analysis.egg-info/PKG-INFO
10+
analysis.egg-info/SOURCES.txt
11+
analysis.egg-info/dependency_links.txt
12+
analysis.egg-info/requires.txt
13+
analysis.egg-info/top_level.txt
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
radon>=6.0.0
2+
pathspec>=0.11.0
3+
4+
[dev]
5+
pytest>=7.0.0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
analysis
File renamed without changes.

0 commit comments

Comments
 (0)