feat: Migrate to uv package management#41
Merged
Merged
Conversation
- Updated .dockerignore and .gitignore to replace references to poetry.lock with uv.lock. - Modified pyproject.toml to align with uv's structure and added necessary configurations. - Updated README.md to reflect the change in dependency management from Poetry to uv, including installation and usage instructions. - Adjusted GitHub workflows to utilize uv for dependency installation, testing, and linting. This change enhances the project's dependency management approach and streamlines the development process.
- Added new event types: labeled and ready_for_review to the pull_request_target trigger. - Simplified the auto-merge job to only run for Dependabot PRs. - Removed unnecessary steps related to metadata fetching and CI checks, streamlining the auto-merge process. This update enhances the efficiency of the auto-merge workflow for Dependabot pull requests.
- Updated the Dockerfile to install the application into a uv-managed virtual environment, enhancing the build process. - Removed unnecessary uv.lock from .dockerignore to allow for proper dependency management. - Adjusted GitHub workflows to streamline Python setup and dependency installation using the latest uv version. - Added steps for installing GitHub CLI in the release workflow to ensure availability during the release process. These changes optimize the containerization and CI/CD processes, aligning with the project's shift towards uv for dependency management.
- Introduced a new helper function `_get_pkce_client_id` to streamline the retrieval of the PKCE client ID, ensuring proper error handling for missing configurations. - Updated multiple instances in the codebase to utilize the new helper function, improving maintainability and readability. - Refactored the `check_link_exists` method in `RaindropClient` to rename the unused parameter for clarity and added logging for better debugging. - Simplified authentication logic in `auth_pkce.py` by consolidating the handling of client secrets during token exchanges. These changes enhance the overall structure and clarity of the code, particularly around the PKCE flow and link checking functionality.
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.