## [build-system] + drop uv pip install -e . (#58) Add `[build-system] requires=["uv_build"] build-backend="uv_build"` so `uv sync --dev` installs the project editably in one step. Remove `uv pip install -e .` and `uv python pin 3.13.11` from CI. ## uv.toml with link-mode=copy (#60) Create project-level `uv.toml` with `link-mode = "copy"` and `python-preference = "managed"`. Prevents .venv symlinks from pointing to /root/ when uv runs under different users. ## Align python version (#59) `.python-version` pinned to `3.13` (minor, let patch float) instead of platform-specific `cpython-3.13.12-linux-x86_64-gnu`. Removed the CI step that downgraded to 3.13.11. ## Pre-commit auto-recovery (#61) Hook now checks `uv run python -c 'import sys'` at the top — if the venv is broken, it runs `uv sync --dev` automatically before checks. ## .gitignore Add `.venv/` to prevent accidental venv commits. fix #58, fix #59, fix #60, fix #61
30 lines
419 B
Plaintext
30 lines
419 B
Plaintext
# Virtual environment
|
|
.venv/
|
|
|
|
# Data directories (user data, not tracked)
|
|
data/
|
|
zotero/data/
|
|
zotero/profiles/
|
|
tuva/
|
|
logs/**
|
|
|
|
# Marimo cache
|
|
notebooks/__marimo__/
|
|
.deploy_key
|
|
.env
|
|
.deploy_key.pub
|
|
__pycache__/
|
|
*.pyc
|
|
.coverage
|
|
dist/
|
|
*.egg-info/
|
|
.claude/settings.local.json
|
|
notebooks/aco.duckdb
|
|
|
|
# Docs (auto-generated at build time)
|
|
docs/docs/api/
|
|
docs/static/library.json
|
|
docs/node_modules/
|
|
docs/build/
|
|
docs/.docusaurus/
|