@@ -7,21 +7,14 @@ Thanks for your interest in contributing. This repository contains the PythonNat
77Development uses Python ≥ 3.10.
88
99``` bash
10- # create and activate a venv (recommended)
11- python3 -m venv .venv && source .venv/bin/activate
10+ # one-shot: creates .venv, syncs CI deps, runs every CI check
11+ # (requires uv: https://docs.astral.sh/uv/getting-started/installation/)
12+ ./scripts/check.sh
1213
13- # install dev tools (lint/format/test)
14- pip install -e " .[dev]"
15-
16- # install library (editable) and CLI
17- pip install -e .
18-
19- # run tests
14+ # Run individual steps if you only want one
2015pytest -q
21-
22- # format and lint
23- black src examples tests || true
2416ruff check .
17+ black src examples tests
2518```
2619
2720Common library and CLI entry points:
@@ -63,6 +56,7 @@ cd examples/hello-world && pn run android
6356Common commands:
6457
6558``` bash
59+ ./scripts/check.sh # run all CI checks (mirrors ci.yml)
6660pytest -q # run tests
6761ruff check . # lint
6862black src examples tests # format
@@ -127,6 +121,7 @@ Recommended scopes (choose the smallest, most accurate unit; prefer module/direc
127121 - ` mkdocs ` – documentation site (MkDocs/Material) configuration and content under ` docs/ `
128122 - ` pyproject ` – ` pyproject.toml ` packaging/build metadata
129123 - ` repo ` – repository metadata and top‑level files (` README.md ` , ` CONTRIBUTING.md ` , ` .gitignore ` , licenses)
124+ - ` scripts ` – developer scripts under ` scripts/ ` (e.g., ` check.sh ` )
130125 - ` templates ` – Android/iOS project templates under ` src/pythonnative/templates/ `
131126 - ` tests ` – unit/integration/E2E tests under ` tests/ `
132127 - ` workflows ` – CI pipelines under ` .github/workflows/ `
0 commit comments