feat: separate dependency specification#96
Merged
szymonmaszke merged 6 commits intomainfrom Feb 26, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request separates dependency specification from pyproject.toml into a dedicated dependencies/dependencies.txt file, switching the build backend from pdm-backend to hatchling with the hatch-requirements-txt plugin. This change aims to simplify dependency management and reduce the complexity of the pyproject.toml file.
Changes:
- Switched build backend from
pdm-backendtohatchlingwithhatch-requirements-txtplugin - Created
dependencies/dependencies.txtfor dependency specification (currently empty) - Updated documentation to reference the new dependency location
- Updated dependency versions in
pdm.lock - Added package overrides in
osv-scanner.tomlfor new dev dependencies - Changed line length from 80 to 110 characters
Reviewed changes
Copilot reviewed 5 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Changed build backend to hatchling, configured dynamic dependencies, removed inline dependency list, updated line length to 110 |
| dependencies/dependencies.txt | New empty file for project dependencies |
| pdm.lock | Updated dependency versions across the board |
| osv-scanner.toml | Added license ignore overrides for griffelib, peewee, and python-discovery |
| SECURITY-DEPENDENCY.md | Updated documentation to mention both pyproject.toml and dependencies.txt |
| README.md | Updated usage instructions to reference dependencies.txt instead of pyproject.toml |
| .yamllint.yml | Increased max line length from 80 to 110 |
Comments suppressed due to low confidence (1)
pyproject.toml:288
- The line length is changed from 80 to 110 characters, which is also reflected in
.yamllint.yml. However, this change is not mentioned in the PR description or linked issue #94. This appears to be an unrelated change that should either be explained or separated into its own PR.
line-length = 110
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: szymonmaszke <github@maszke.co>
Signed-off-by: szymonmaszke <github@maszke.co>
Signed-off-by: szymonmaszke <github@maszke.co>
Signed-off-by: szymonmaszke <github@maszke.co>
Signed-off-by: szymonmaszke <github@maszke.co>
Signed-off-by: szymonmaszke <github@maszke.co>
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.
Checklist