Uv better tagging cleanup#9
Merged
Merged
Conversation
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>
Contributor
There was a problem hiding this comment.
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.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.