mirror of
https://github.com/wiltodelta/remove-ai-watermarks.git
synced 2026-12-05 11:43:35 +01:00
Drop restatements of the global rules, copied lists and descriptions of removed code; resolve contradictions toward the code. Dated incidents move to docs/rules-history/ where the repository is private. Public repository: the incident stories are deleted, not moved. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
738 B
Bash
Executable File
20 lines
738 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
uv sync --all-extras
|
|
# uv-outdated / uv-secure run via uvx (isolated env), NOT `uv run`: resolving them
|
|
# inside the project env crashes and, with set -e, aborts the whole gate before
|
|
# ruff/pyright/tests.
|
|
uvx uv-outdated
|
|
# Findings and scanner failures both stop the gate, even if a success message
|
|
# preceded a failure. Scan only this lockfile, not sibling worktree copies.
|
|
uvx uv-secure uv.lock
|
|
uv run python scripts/sync_c2pa_soft_bindings.py --check
|
|
uv run ruff check --fix
|
|
uv run ruff format
|
|
# Scoped to src/: a full-project pyright run OOM-crashes node on this ML-heavy
|
|
# repo (see CLAUDE.md "Test and lint"); src/ is the authoritative strict gate.
|
|
uv run pyright src/
|
|
uv run pytest -n auto
|