Unify product version at 1.4.0, add ruff gate, drop stale GitHub workflow
- One version (1.4.0) across extension/manifest.json, automation/pyproject.toml, automation-js/package.json (+lockfile); README documents the bump-together policy - Delete .github/workflows/ci.yml (behind the Gitea copy; CI runs on Gitea Actions) - CURSOR_PROMPT.md: replace personal paths with <path-to-context-extractor> - Add ruff (E4,E7,E9,F,I, line-length 120) to automation/ dev extras, Makefile lint, and the Gitea CI Lint + tests job as a hard gate
This commit is contained in:
@@ -17,7 +17,7 @@ test: ## Run pytest
|
||||
test-js: ## Run automation-js vitest suite (real headless Chromium)
|
||||
cd automation-js && npm test
|
||||
|
||||
lint: ## Syntax-check extension JS + validate manifest JSON
|
||||
lint: ## Syntax-check extension JS + validate manifest JSON + ruff on automation/
|
||||
@node --check extension/core/dom.js
|
||||
@node --check extension/core/prompt.js
|
||||
@node --check extension/page-patcher.js
|
||||
@@ -25,9 +25,10 @@ lint: ## Syntax-check extension JS + validate manifest JSON
|
||||
@node --check extension/background.js
|
||||
@node --check extension/popup.js
|
||||
@python3 -m json.tool extension/manifest.json >/dev/null
|
||||
@cd automation && .venv/bin/ruff check .
|
||||
@echo "lint OK"
|
||||
|
||||
package: ## Zip extension/ into dist/
|
||||
python3 scripts/package_extension.py
|
||||
|
||||
ci: lint test test-js package ## Local stand-in for GitHub Actions
|
||||
ci: lint test test-js package ## Local stand-in for Gitea Actions
|
||||
|
||||
Reference in New Issue
Block a user