From f91bfb782076e5db1d002f60201debfe12dd125e Mon Sep 17 00:00:00 2001 From: Pymetheus Date: Wed, 4 Feb 2026 17:08:15 +0100 Subject: [PATCH] docs: clarify installation instructions and notes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update README and checklist to improve wording and installation guidance: change “Strict static typing” to “Strict static type checking” (mypy), add a link to the example project, and expand the Install & Run section to show alternative package manager commands (pip install -e ".[dev]", uv sync --extra dev, poetry install --extras dev). Also tidy a note's punctuation and update docs/CHECKLIST to use `uv sync --extra dev`. --- README.md | 12 ++++++++++-- docs/CHECKLIST.md | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ccee3e3..6d379e4 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ By establishing structure, tooling, and automation upfront, it reduces the need - Cloud-based coverage reporting and visualization with `Codecov` - Minimum 80% coverage threshold - Fast linting and formatting via `ruff` - - Strict static typing with `mypy` + - Strict static type checking with `mypy` - **Security by Default** - Static analysis with `bandit` @@ -127,15 +127,23 @@ Work through the Checklist, which guides you step by step from: This ensures a consistent, repeatable setup across teams and projects. +> **Note:** *Check out the [example project](https://github.com/Pymetheus/python-project-blueprint-example), to see how it looks like after the bootstrap workflow* ### 3. Install & Run Install the project in editable mode with development dependencies: ```bash +# with pip pip install -e ".[dev]" + +# with uv +uv sync --extra dev + +# with poetry +poetry install --extras dev ``` -> **Note:** *You may use any package manager you prefer (pip, uv, poetry); examples in the Checklist.* +> **Note:** *You may use any package manager you prefer (pip, uv, poetry).* Set up local git hooks for formatting, linting, and security checks: ```bash diff --git a/docs/CHECKLIST.md b/docs/CHECKLIST.md index 080cba4..3f3a0f3 100644 --- a/docs/CHECKLIST.md +++ b/docs/CHECKLIST.md @@ -57,7 +57,7 @@ install your project using the package manager of your choice: - [ ] **USER:** Install dependencies using **pip**, **uv**, or **poetry**: - `pip install -e ".[dev]"`. - - `uv pip install -e ".[dev]"`. + - `uv sync --extra dev`. - `poetry install --extras dev`. - [ ] **USER:** Run `prek install`. - [ ] **USER:** Run the application `python -m .main`.