mirror of
https://github.com/trailofbits/dropkit
synced 2026-06-21 14:11:54 +00:00
Simplify CLAUDE.md project structure to directories only (#42)
Ran /claude-md-management:revise-claude-md to audit CLAUDE.md against the actual codebase. The file-level tree was stale (missing lock.py, ui.py, version_check.py and several test files). Replace with a directory-only layout that won't drift when files are added. Also document the --cov-fail-under=29 threshold from pyproject.toml. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -23,22 +23,9 @@ uv run dropkit --help # CLI help
|
||||
|
||||
```
|
||||
dropkit/
|
||||
├── pyproject.toml # Dependencies and metadata
|
||||
├── CLAUDE.md # This file
|
||||
├── README.md # User documentation
|
||||
├── dropkit/
|
||||
│ ├── main.py # Typer CLI entry point
|
||||
│ ├── config.py # Config with SSH key validation
|
||||
│ ├── api.py # DigitalOcean REST API (see docstring for endpoints)
|
||||
│ ├── cloudinit.py # Cloud-init template rendering
|
||||
│ ├── ssh_config.py # SSH config manipulation
|
||||
│ └── templates/
|
||||
│ └── default-cloud-init.yaml
|
||||
└── tests/
|
||||
├── test_api.py
|
||||
├── test_config.py
|
||||
├── test_main_helpers.py
|
||||
└── test_ssh_config.py
|
||||
├── dropkit/ # CLI source (Typer entry point: main.py)
|
||||
│ └── templates/ # Jinja2 cloud-init templates
|
||||
└── tests/ # pytest tests
|
||||
```
|
||||
|
||||
## Technology Stack
|
||||
@@ -151,6 +138,8 @@ uv run pytest -k "validate_ssh" # Pattern match
|
||||
uv run pytest -v # Verbose
|
||||
```
|
||||
|
||||
**Coverage**: Minimum 29% enforced via `--cov-fail-under=29` in pyproject.toml.
|
||||
|
||||
## Pydantic Models
|
||||
|
||||
- **`DropkitConfig`** — Root config with `extra='forbid'`
|
||||
|
||||
Reference in New Issue
Block a user