You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Run `make init`. This creates a `.venv`, installs the package in editable mode with dev and docs dependencies (Zensical), and installs pre-commit hooks.
46
+
2. Run `make init`. You will be prompted to choose a Python interpreter (press Enter for `python3`, or type e.g. `python3.10`). To skip the prompt, run `make init PYTHON=python3.10` (or another 3.10+ interpreter). This creates a `.venv`, installs the package in editable mode with dev and docs dependencies (Zensical), and installs pre-commit hooks.
47
47
48
48
3. Optionally activate the venv for interactive use: `source .venv/bin/activate` (Windows: `.venv\Scripts\activate`). You can run `make test` and `make lint` without activating.
49
49
@@ -57,13 +57,13 @@ This project adheres to the [Contributor Covenant Code of Conduct](https://www.c
57
57
Use the Makefile for common tasks. Run `make help` for the full list.
58
58
59
59
-**`make help`** — Show all targets and descriptions
60
-
-**`make init`** — Set up venv, install package and dev + docs deps (Zensical), install pre-commit hooks
60
+
-**`make init`** — Prompts for Python interpreter (default: `python3`); set `PYTHON` to skip (e.g. `make init PYTHON=python3.10`). Sets up venv, installs package and dev + docs deps (Zensical), installs pre-commit hooks.
61
+
-**`make clean`** — Remove all files and directories listed in `.gitignore` (inverse of init)
61
62
-**`make test`** — Run BDD tests with coverage (summary output)
62
63
-**`make test-verbose`** — Run BDD tests with full scenario/step output (for debugging)
63
-
-**`make lint`** — Run pre-commit (format and lint) on all files
64
64
-**`make docs`** — Serve the docs locally (http://127.0.0.1:8000)
65
65
-**`make docs-build`** — Build the docs site (output in `site/`; config: `zensical.toml`)
66
-
-**`make clean`** — Remove venv, caches, build artifacts, and `site/`
66
+
-**`make lint`** — Run pre-commit (format and lint) on all files
0 commit comments