@@ -94,27 +94,27 @@ Accepted types (standard):
9494- ` style ` – formatting/whitespace (no code behavior)
9595- ` test ` – add/adjust tests only
9696
97- Recommended scopes (match the smallest accurate directory/module):
98-
99- - Library/CLI scopes:
100- - ` cli ` – ` src/pythonnative/cli/ ` (the ` pn ` command)
101- - ` core ` – ` src/pythonnative/pythonnative/ ` package internals
102- - ` components ` – UI view modules under ` src/pythonnative/pythonnative/ ` (e.g., ` button.py ` , ` label.py ` )
103- - ` utils ` – utilities like ` utils.py `
104- - ` tests ` – ` tests/ `
105-
106- - Templates and examples:
107- - ` templates ` – ` templates/ ` (Android/iOS templates, zips)
108- - ` examples ` – ` examples/ ` (e.g., ` hello-world/ ` )
109-
110- <!-- Django app and site removed: the old Django project has been retired -->
111-
112- - Repo‑level and ops:
97+ Recommended scopes (choose the smallest, most accurate unit; prefer module/directory names):
98+
99+ - Module/directory scopes:
100+ - ` cli ` – CLI tool and ` pn ` command (` src/pythonnative/cli/ ` )
101+ - ` components ` – declarative element-creating functions (` components.py ` )
102+ - ` element ` – Element descriptor class (` element.py ` )
103+ - ` native_views ` – platform-specific native view creation and updates (` native_views.py ` )
104+ - ` package ` – ` src/pythonnative/__init__.py ` exports and package boundary
105+ - ` page ` – Page component, lifecycle, and reactive state (` page.py ` )
106+ - ` reconciler ` – virtual view tree diffing and reconciliation (` reconciler.py ` )
107+ - ` utils ` – shared utilities (` utils.py ` )
108+
109+ - Other scopes:
113110 - ` deps ` – dependency updates and version pins
114- - ` docker ` – containerization files (e.g., ` Dockerfile ` )
115- - ` repo ` – top‑level files (` README.md ` , ` CONTRIBUTING.md ` , ` .gitignore ` , licenses)
111+ - ` examples ` – example apps under ` examples/ `
116112 - ` mkdocs ` – documentation site (MkDocs/Material) configuration and content under ` docs/ `
117- - ` workflows ` – CI pipelines (e.g., ` .github/workflows/ ` )
113+ - ` pyproject ` – ` pyproject.toml ` packaging/build metadata
114+ - ` repo ` – repository metadata and top‑level files (` README.md ` , ` CONTRIBUTING.md ` , ` .gitignore ` , licenses)
115+ - ` templates ` – Android/iOS project templates under ` src/pythonnative/templates/ `
116+ - ` tests ` – unit/integration/E2E tests under ` tests/ `
117+ - ` workflows ` – CI pipelines under ` .github/workflows/ `
118118
119119Note: Avoid redundant type==scope pairs (e.g., ` docs(docs) ` ). Prefer a module scope (e.g., ` docs(core) ` ) or ` docs(repo) ` for top‑level updates.
120120
@@ -124,12 +124,12 @@ Examples:
124124build(deps): refresh pinned versions
125125chore(repo): add contributing guidelines
126126ci(workflows): add publish job
127- docs(core ): clarify ListView data contract
128- feat(components): add MaterialSearchBar
127+ docs(reconciler ): clarify diffing algorithm
128+ feat(components): add Slider element
129129fix(cli): handle missing Android SDK gracefully
130- perf(core ): reduce allocations in list diffing
130+ perf(reconciler ): reduce allocations in list diffing
131131refactor(utils): extract path helpers
132- test(tests) : cover ios template copy flow
132+ test: cover iOS template copy flow
133133```
134134
135135Examples (no scope):
0 commit comments