Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ pydoctor/
├── reports/ # Logic for transforming data into beauty
│ ├── table_formatter.py # Rich terminal UI
│ └── json_formatter.py # Structured exports
├── security/ # Network clients and batch processing for OSV.dev
└── utils/ # Shared low-level helpers (pip, subprocess, AST)
├── security/ # OSV.dev integration, CVSS v3 scoring, and secret detection
└── utils/ # Interpreter probing and shared helpers (pip, subprocess, AST)
```

## 🔄 The Scanning Lifecycle
Expand All @@ -33,6 +33,6 @@ pydoctor/

## 🛠️ Design Patterns

- **Snapshotting:** We collect all expensive information (like `pip list`) exactly once in the `ProjectContext`.
- **Snapshotting:** We collect all expensive information (via a one-shot probe of the project interpreter) exactly once in the `ProjectContext`.
- **Stateless Scanners:** Scanners are pure functions or classes that take a context and return data. They don't modify the environment.
- **Fail-Safe Networking:** The OSV client uses local caching and retry logic to remain functional even when offline or during API hiccups.
2 changes: 1 addition & 1 deletion docs/commands.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 📟 PyDoctor Command Reference

PyDoctor provides a suite of commands designed to be used both by humans and CI systems.
PyDoctor provides a suite of commands designed to be used both by humans and CI systems. All scan commands accept `--python` to target a specific project interpreter (or set `PYDOCTOR_PYTHON`).

## 🩺 Core Diagnosis

Expand Down
Loading