Skip to content

Uv better tagging cleanup#9

Merged
bbelderbos merged 11 commits into
mainfrom
uv-better-tagging-cleanup
Jan 27, 2026
Merged

Uv better tagging cleanup#9
bbelderbos merged 11 commits into
mainfrom
uv-better-tagging-cleanup

Conversation

@bbelderbos

Copy link
Copy Markdown
Owner

No description provided.

bbelderbos and others added 10 commits January 27, 2026 07:38
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add pyproject.toml with pytest, pytest-cov, ruff as dev dependencies
- Update pre-commit to use uv run and trigger on markdown files
- Remove pip-compile requirements files

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
No longer syncing tips to codeimages API.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Ensures tags inside code blocks (like #include) are not indexed.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Use astral-sh/setup-uv action
- Replace flake8 with ruff
- Remove obsolete CODEIMAGES env vars

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Use monkeypatch.chdir to write to temp directory.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Tips with multiple tags now appear once under their first tag,
giving authors control over placement via tag order.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings January 27, 2026 11:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request migrates the project from pip-based dependency management to uv and simplifies the codebase by removing the CodeImages API integration functionality. It also introduces a significant behavioral change to how notes are tagged and indexed.

Changes:

  • Migrates from pip (requirements.txt/requirements.in) to uv (pyproject.toml/uv.lock) for dependency management
  • Removes sync_tips.py and its tests, eliminating the CodeImages API integration
  • Changes tagging behavior to index notes only under their first tag instead of all tags (breaking change)
  • Updates CI/CD workflow to use uv instead of pip
  • Adds a new note about creating GitHub issues from CLI

Reviewed changes

Copilot reviewed 12 out of 14 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
uv.lock New lock file for uv dependency management (contains future dates and Python 3.14 references)
pyproject.toml New project configuration using uv format with Python 3.14 requirement
.python-version Specifies Python 3.14 as the project version
sync_tips.py Removed CodeImages API integration script
test_sync_tips.py Removed tests for sync_tips functionality
requirements.txt Removed pip requirements file
requirements.in Removed pip requirements input file
.env-template Removed environment template for CodeImages credentials
index.py Changed to only index notes under their first tag (breaking change), added code block filtering
test_index.py Added test for code block filtering, updated to use monkeypatch for directory changes
index.md Regenerated index reflecting new single-tag behavior
.pre-commit-config.yaml Updated to use uv instead of virtualenv, changed hook type to markdown
.github/workflows/python-app.yml Modernized CI workflow to use uv and ruff instead of pip and flake8
notes/20260127072418.md New note about creating GitHub issues from CLI

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread index.py
Comment thread index.py
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bbelderbos bbelderbos merged commit 663af39 into main Jan 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants