Prerequisites
- Python 3.10 or newer
- uv
- Git
Clone and install
Install all dependencies
.venv in the project directory and installs all runtime and development dependencies.Install pre-commit hooks
git commit and enforce ruff format and a single-line commit message check.Make targets
| Target | Action |
|---|---|
make test | Run full test suite in parallel |
make test-unit | Unit tests with coverage |
make test-integration | Integration tests |
make fix | Auto-fix formatting and lint |
make quality | format-check + lint + type-check + security + deps |
make ci | Full CI pipeline (quality + tests) |
make clean | Remove all build/cache/test artifacts |
make build | Build wheel and sdist |
Quality tools
- Formatting
- Linting
- Type checking
- Security
- Dependency hygiene
Running specific tests
Environment variables for development
No real API key is needed to run unit tests — all external calls are mocked. For integration or manual testing:~/.notewise/config.env via uv run notewise setup.
Adding a dependency
uv.lock.