conventional-git 1.1.0__tar.gz → 1.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {conventional_git-1.1.0 → conventional_git-1.2.0}/.claude-plugin/plugin.json +1 -1
- {conventional_git-1.1.0 → conventional_git-1.2.0}/.github/workflows/ci.yml +1 -1
- {conventional_git-1.1.0 → conventional_git-1.2.0}/.github/workflows/publish.yml +3 -3
- {conventional_git-1.1.0 → conventional_git-1.2.0}/.github/workflows/python.yml +1 -1
- {conventional_git-1.1.0 → conventional_git-1.2.0}/.pre-commit-config.yaml +1 -1
- {conventional_git-1.1.0 → conventional_git-1.2.0}/AGENTS.md +1 -1
- {conventional_git-1.1.0 → conventional_git-1.2.0}/Makefile +2 -2
- {conventional_git-1.1.0 → conventional_git-1.2.0}/PKG-INFO +2 -2
- {conventional_git-1.1.0 → conventional_git-1.2.0}/dictionary.txt +1 -1
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/architecture/optional-extras.md +1 -1
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/architecture/three-layers.md +1 -1
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/conventions/commits-check.md +4 -3
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/enforcement/pre-commit-framework.md +1 -1
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/enforcement/pre-commit-local-hooks.md +2 -2
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/log.md +17 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/mk/python.mk +12 -5
- {conventional_git-1.1.0 → conventional_git-1.2.0}/package.json +1 -1
- {conventional_git-1.1.0 → conventional_git-1.2.0}/pnpm-lock.yaml +120 -120
- {conventional_git-1.1.0 → conventional_git-1.2.0}/pyproject.toml +5 -23
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/cli/app.py +2 -2
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/cli/auth.py +2 -2
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/cli/capabilities.py +3 -3
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/cli/check.py +1 -1
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/cli/create.py +1 -1
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/cli/hook.py +1 -1
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/cli/mcp.py +1 -1
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/mcp/server.py +3 -3
- {conventional_git-1.1.0 → conventional_git-1.2.0}/uv.lock +66 -103
- {conventional_git-1.1.0 → conventional_git-1.2.0}/.claude-plugin/marketplace.json +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/.editorconfig +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/.github/dependabot.yml +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/.gitignore +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/.markdownlint-cli2.jsonc +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/.markdownlint.yaml +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/.mcp.json +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/.pre-commit-hooks.yaml +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/CONTRIBUTING.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/LICENSE +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/README.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/checkmake.ini +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/cspell.config.yaml +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/architecture/index.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/architecture/validation-vs-generation.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/architecture/violation-contract.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/architecture/vocabulary-as-data.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/conventions/commits-and-branches.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/conventions/index.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/enforcement/attribution-trailers.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/enforcement/branch-name-gap.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/enforcement/ci-recipe.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/enforcement/commitizen-adapter.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/enforcement/git-hooks.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/enforcement/hook-install-path.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/enforcement/house-rules.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/enforcement/index.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/enforcement/skill-vocabulary-copies.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/gitlint/behavior-vs-cli.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/gitlint/extra-path.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/gitlint/index.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/gitlint/install.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/gitlint/recommended-config.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/gitlint/when-to-use.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/gitlint/wiring.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/index.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/mcp/describe-convention.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/mcp/index.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/mcp/plugin-bundled-server.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/mcp/self-correction-loop.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/mcp/server-install.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/mcp/suggest-commit-message.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/mcp/validate-tools.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/python/index.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/python/interpreter-source.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/python/pyproject-defaults.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/release/index.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/release/pypi-trusted-publishing.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/suggestions/apply-does-not-commit.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/suggestions/data-egress.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/suggestions/index.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/suggestions/keyring-scope.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/suggestions/llm-extra-install.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/suggestions/provider-fallback.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/suggestions/providers-and-credentials.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/toolchain/extras-self-reference.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/toolchain/index.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/toolchain/layering-rule.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/docs/toolchain/rejected-install-backends.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/mise.toml +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/mk/.gitkeep +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/mk/conventional-git.mk +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/pnpm-workspace.yaml +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/skills/conventional-branch/SKILL.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/skills/conventional-branch/references/branch-types.csv +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/skills/conventional-commit/SKILL.md +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/skills/conventional-commit/references/commit-types.csv +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/__init__.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/adapters/__init__.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/adapters/commitizen_config.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/adapters/gitlint_rules.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/branch/__init__.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/branch/grammar.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/branch/rules.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/branch/vocabulary.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/cli/__init__.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/commit/__init__.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/commit/compose.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/commit/grammar.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/commit/rules.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/commit/vocabulary.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/config.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/csv_columns.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/data/__init__.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/data/branch-exempt-prefixes.csv +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/data/branch-trunks.csv +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/data/branch-types.csv +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/data/commit-attribution.csv +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/data/commit-types.csv +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/generation/__init__.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/generation/credentials.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/generation/diff.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/generation/heuristic.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/generation/protocol.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/generation/typesafe.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/helpers.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/mcp/__init__.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/py.typed +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/src/conventional_git/violations.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/__init__.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_branch_rules.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_branch_vocabulary.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_cli_auth.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_cli_capabilities.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_cli_hook.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_cli_smoke.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_commit_compose.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_commit_rules.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_commit_vocabulary.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_config.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_credentials.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_diff.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_generation_suggest.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_gitlint_rules.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_helpers.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_heuristic.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_mcp_server.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_plugin_version.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_skill_vocabularies.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_typesafe_client_factory.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_typesafe_provider.py +0 -0
- {conventional_git-1.1.0 → conventional_git-1.2.0}/tests/test_violation_code_coverage.py +0 -0
|
@@ -7,10 +7,10 @@ jobs:
|
|
|
7
7
|
build:
|
|
8
8
|
runs-on: ubuntu-latest
|
|
9
9
|
steps:
|
|
10
|
-
- uses: actions/checkout@
|
|
10
|
+
- uses: actions/checkout@v7
|
|
11
11
|
- uses: jdx/mise-action@v4
|
|
12
12
|
- run: make build
|
|
13
|
-
- uses: actions/upload-artifact@
|
|
13
|
+
- uses: actions/upload-artifact@v7
|
|
14
14
|
with:
|
|
15
15
|
name: dist
|
|
16
16
|
path: dist/
|
|
@@ -21,7 +21,7 @@ jobs:
|
|
|
21
21
|
permissions:
|
|
22
22
|
id-token: write
|
|
23
23
|
steps:
|
|
24
|
-
- uses: actions/download-artifact@
|
|
24
|
+
- uses: actions/download-artifact@v8
|
|
25
25
|
with:
|
|
26
26
|
name: dist
|
|
27
27
|
path: dist/
|
|
@@ -68,7 +68,7 @@ feature.
|
|
|
68
68
|
|
|
69
69
|
- The agent MUST NOT add docstrings to functions, methods, or classes; use a
|
|
70
70
|
comment only where the *why* is not obvious from the code. The
|
|
71
|
-
`pylint-
|
|
71
|
+
`pylint-gajaguar` `gajaguar-no-docstrings` checker enforces this and fails
|
|
72
72
|
`make check`/`make pylint` otherwise.
|
|
73
73
|
- The agent MUST run `make check` and `make test` before committing Python
|
|
74
74
|
changes, and SHOULD run `make fix` first for anything auto-fixable.
|
|
@@ -67,11 +67,11 @@ spell: ## Spell-check files with cspell — accepts FILES="..."
|
|
|
67
67
|
fi
|
|
68
68
|
|
|
69
69
|
commits-check: ## Validate the commit range and branch name against Conventional Commits/Branch — see docs/conventions/commits-check.md
|
|
70
|
-
@git log --format='%B%x00' $(BASE)..HEAD | while IFS= read -r -d '' message; do \
|
|
70
|
+
@git log --no-merges --format='%B%x00' $(BASE)..HEAD | while IFS= read -r -d '' message; do \
|
|
71
71
|
message="$${message#$$'\n'}"; [ -z "$$message" ] && continue; \
|
|
72
72
|
echo "$$message" | $(CONVENTIONAL_GIT) check commit || exit 1; \
|
|
73
73
|
done
|
|
74
|
-
@$(
|
|
74
|
+
@$(CONVENTIONAL_GIT) check branch --name "$(BRANCH)"
|
|
75
75
|
|
|
76
76
|
check: makefile-lint md-lint spell commits-check $(LANG_CHECK_TARGETS) ## Run the full read-only validation gate
|
|
77
77
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: conventional-git
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: Conventional Commits and Conventional Branch enforcement, validation, and generation
|
|
5
5
|
Project-URL: Repository, https://github.com/gajaguar/conventional-git
|
|
6
6
|
Project-URL: Issues, https://github.com/gajaguar/conventional-git/issues
|
|
@@ -16,7 +16,7 @@ Provides-Extra: llm
|
|
|
16
16
|
Requires-Dist: keyring>=25.7; extra == 'llm'
|
|
17
17
|
Requires-Dist: typesafe-sdk>=0.7; extra == 'llm'
|
|
18
18
|
Provides-Extra: mcp
|
|
19
|
-
Requires-Dist: mcp<2
|
|
19
|
+
Requires-Dist: mcp<3,>=2.2; extra == 'mcp'
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
|
|
22
22
|
# conventional-git
|
|
@@ -8,7 +8,7 @@ status: stable
|
|
|
8
8
|
|
|
9
9
|
# Optional extras stay lazily imported
|
|
10
10
|
|
|
11
|
-
`mcp/server.py` —
|
|
11
|
+
`mcp/server.py` — `MCPServer` exposing `validate_commit_message`,
|
|
12
12
|
`validate_branch_name`, `describe_convention`, and `suggest_commit_message`.
|
|
13
13
|
The `validate_*`/`describe_*` tools return the same structured `Violation`
|
|
14
14
|
shape so agents can self-correct; `suggest_commit_message` returns advice,
|
|
@@ -50,7 +50,7 @@ itself reads that config, so the adapter has no SDK to import. See
|
|
|
50
50
|
- `cli/auth.py` — stores/reads the TypeSafe or OpenRouter credential used by
|
|
51
51
|
the `jev` suggestion provider (requires the `llm` extra). See
|
|
52
52
|
[`suggestions/keyring-scope.md`](../suggestions/keyring-scope.md).
|
|
53
|
-
- `mcp/server.py` —
|
|
53
|
+
- `mcp/server.py` — `MCPServer` exposing `validate_commit_message`,
|
|
54
54
|
`validate_branch_name`, `describe_convention`, and `suggest_commit_message`.
|
|
55
55
|
See [`mcp/index.md`](../mcp/index.md). Requires the `mcp` extra; see
|
|
56
56
|
[`optional-extras.md`](optional-extras.md) for how it stays lazy.
|
|
@@ -19,7 +19,7 @@ Two layers enforce [Commits and branches](commits-and-branches.md):
|
|
|
19
19
|
`--no-verify`. It runs as part of `make check`.
|
|
20
20
|
|
|
21
21
|
`mk/python.mk` overrides the base Makefile's `CONVENTIONAL_GIT ?= uvx
|
|
22
|
-
conventional-git` with `$(UV) run conventional-git`, so `make commits-check`
|
|
22
|
+
conventional-git@latest` with `$(UV) run conventional-git`, so `make commits-check`
|
|
23
23
|
uses this project's own pinned dev dependency (already synced by `uv sync`)
|
|
24
24
|
instead of an ephemeral `uvx` fetch — faster, and reproducible from the
|
|
25
25
|
lockfile. `.github/workflows/{ci,python}.yml`'s checkout uses `fetch-depth:
|
|
@@ -28,6 +28,7 @@ branch name resolve correctly instead of hitting a detached `HEAD`.
|
|
|
28
28
|
|
|
29
29
|
Dependabot always names its branches `dependabot/<ecosystem>/<dependency>`,
|
|
30
30
|
which is not a Conventional Branch type, and its prefix can't be changed.
|
|
31
|
-
`
|
|
32
|
-
`
|
|
31
|
+
`conventional-git` therefore accepts names that start with `dependabot/` or
|
|
32
|
+
`renovate/` (1.1.0 and later), in the hook and in `make commits-check`
|
|
33
|
+
alike; the commit messages are still validated, and
|
|
33
34
|
`.github/dependabot.yml` sets their `ci`/`chore` prefixes.
|
{conventional_git-1.1.0 → conventional_git-1.2.0}/docs/enforcement/pre-commit-local-hooks.md
RENAMED
|
@@ -21,7 +21,7 @@ repos:
|
|
|
21
21
|
language: python
|
|
22
22
|
language_version: python3.14
|
|
23
23
|
additional_dependencies:
|
|
24
|
-
- conventional-git==1.
|
|
24
|
+
- conventional-git==1.2.0
|
|
25
25
|
stages: [commit-msg]
|
|
26
26
|
pass_filenames: true
|
|
27
27
|
- id: conventional-branch-name
|
|
@@ -30,7 +30,7 @@ repos:
|
|
|
30
30
|
language: python
|
|
31
31
|
language_version: python3.14
|
|
32
32
|
additional_dependencies:
|
|
33
|
-
- conventional-git==1.
|
|
33
|
+
- conventional-git==1.2.0
|
|
34
34
|
stages: [pre-commit, pre-push]
|
|
35
35
|
always_run: true
|
|
36
36
|
pass_filenames: false
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Directory Update Log
|
|
2
2
|
|
|
3
|
+
## 2026-09-29 (3)
|
|
4
|
+
|
|
5
|
+
* **Change**: The `mcp` extra now requires `mcp>=2.2,<3`. `mcp/server.py`
|
|
6
|
+
builds an `MCPServer` (`mcp.server.mcpserver`), the name `FastMCP` took in
|
|
7
|
+
2.x; the tools and their contract are unchanged. Updated
|
|
8
|
+
[`architecture/three-layers.md`](architecture/three-layers.md) and
|
|
9
|
+
[`architecture/optional-extras.md`](architecture/optional-extras.md).
|
|
10
|
+
|
|
11
|
+
## 2026-09-29 (2)
|
|
12
|
+
|
|
13
|
+
* **Change**: `pylint-plugin` (a git dependency whose package was renamed,
|
|
14
|
+
which broke `make install`) is replaced by `pylint-gajaguar` from PyPI, and
|
|
15
|
+
`pyproject.toml` enables it with `enable = ["gajaguar"]`. The `dependabot/*`
|
|
16
|
+
skip in `make commits-check` is gone: the project's own 1.1.0 accepts
|
|
17
|
+
`dependabot/` and `renovate/` branch names. Updated
|
|
18
|
+
[`conventions/commits-check.md`](conventions/commits-check.md).
|
|
19
|
+
|
|
3
20
|
## 2026-09-29
|
|
4
21
|
|
|
5
22
|
* **Addition**: Branch names starting with a prefix listed in
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
UV := uv
|
|
2
|
-
|
|
2
|
+
# Not conventional-git: this project is it, and uv refuses to upgrade a
|
|
3
|
+
# package the project itself provides.
|
|
4
|
+
PYPI_DEPS := pylint-gajaguar
|
|
3
5
|
|
|
4
6
|
# Use the project's own pinned, dev-dependency copy in make commits-check
|
|
5
7
|
# (defined in the base Makefile) instead of an ephemeral uvx fetch.
|
|
6
8
|
CONVENTIONAL_GIT := $(UV) run conventional-git
|
|
7
9
|
|
|
8
10
|
LANG_INSTALL_TARGETS += install-python
|
|
9
|
-
LANG_CHECK_TARGETS += lint format-check typecheck pylint
|
|
11
|
+
LANG_CHECK_TARGETS += lint format-check typecheck pylint conventional-git-latest
|
|
10
12
|
LANG_FIX_TARGETS += format lint-fix
|
|
11
13
|
LANG_FIX_UNSAFE_TARGETS += format lint-fix-unsafe
|
|
12
14
|
LANG_TEST_TARGETS += pytest
|
|
@@ -14,7 +16,7 @@ LANG_TEST_TARGETS += pytest
|
|
|
14
16
|
##@ Python
|
|
15
17
|
|
|
16
18
|
install-python: ## Sync Python deps and register console scripts
|
|
17
|
-
$(UV) sync $(addprefix --upgrade-package ,$(
|
|
19
|
+
$(UV) sync $(addprefix --upgrade-package ,$(PYPI_DEPS))
|
|
18
20
|
$(UV) tool install --editable . --force
|
|
19
21
|
|
|
20
22
|
lint: ## Lint with Ruff — accepts FILES="..." to limit scope
|
|
@@ -31,9 +33,14 @@ pyright: ## Type-check with Pyright — accepts FILES="..." to limit scope
|
|
|
31
33
|
|
|
32
34
|
typecheck: mypy pyright ## Run both type checkers
|
|
33
35
|
|
|
34
|
-
pylint: ## Self-lint with this repo's own checkers (see github.com/gajaguar/pylint-
|
|
36
|
+
pylint: ## Self-lint with this repo's own checkers (see github.com/gajaguar/pylint-gajaguar) — accepts FILES="..."
|
|
35
37
|
$(UV) run pylint $(or $(FILES),src tests)
|
|
36
38
|
|
|
39
|
+
conventional-git-latest: ## Fail if the installed conventional-git is behind PyPI (skips when PyPI is unreachable)
|
|
40
|
+
@out=$$($(UV) pip list --outdated --format json 2>/dev/null) || { echo 'conventional-git-latest: PyPI unreachable, skipped'; exit 0; }; \
|
|
41
|
+
behind=$$(echo "$$out" | grep -oE '"name":"conventional-git","version":"[^"]+","latest_version":"[^"]+"' || true); \
|
|
42
|
+
test -z "$$behind" || { echo "conventional-git is behind PyPI ($$behind); run make install"; exit 1; }
|
|
43
|
+
|
|
37
44
|
format: ## Format code with Ruff — accepts FILES="..." to limit scope
|
|
38
45
|
$(UV) run ruff format --preview $(or $(FILES),.)
|
|
39
46
|
|
|
@@ -53,5 +60,5 @@ build: ## Build the sdist and wheel into dist/
|
|
|
53
60
|
rm -rf dist
|
|
54
61
|
$(UV) build
|
|
55
62
|
|
|
56
|
-
.PHONY: install-python lint format-check mypy pyright typecheck pylint \
|
|
63
|
+
.PHONY: install-python lint format-check mypy pyright typecheck pylint conventional-git-latest \
|
|
57
64
|
format lint-fix lint-fix-unsafe pytest coverage build
|