Refactor: Deduplicate dev dependencies in pyproject.toml#1288
Conversation
Remove identical dev dependencies from [dependency-groups].dev and reference the optional-dependencies extra "budoux[dev]" instead. This avoids duplicating dependency lists while remaining fully backwards-compatible with legacy pip workflows in GHA. Also add .mypy_cache/ to .gitignore to prevent staging typecheck cache. Co-authored-by: tushuhei <734905+tushuhei@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
This pull request resolves the duplicate definition of development dependencies in pyproject.toml.
The dev dependency list was previously defined identically under both [project.optional-dependencies] and [dependency-groups]. To maintain a single source of truth and achieve maximum simplicity, we now define the dev dependencies list exclusively under [project.optional-dependencies] and configure [dependency-groups].dev to reference "budoux[dev]".
This solution is fully compatible with GitHub Actions and other CI tools still utilizing
pip install ".[dev]"while keeping the pyproject.toml clean and maintainable. We also added.mypy_cacheto.gitignoreto avoid checking in binary typecheck cache files.PR created automatically by Jules for task 15374335822706577094 started by @tushuhei