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.
Overview
This pull request focuses on migrating the repository to use [Poetry](https://python-poetry.org/) as the dependency and package management tool. This change brings modern tooling and simplifies managing dependencies, scripts, and environments.
Note that I forked from #22
Key Changes
Migration to Poetry:
pyproject.toml
file has been configured to replace legacy dependency management tools.src
tovideotuna
Removal of Bash Scripts:
Added Development Workflow Commands:
The following commands have been defined in
pyproject.toml
:coverage-report
: Generates a test coverage report.format
: Automatically formats code using a standard formatter (e.g.,black
).format-check
: Verifies adherence to formatting rules without modifying code.lint
: Performs static analysis to detect code quality issues.test
: Executes the test suite.type-check
: Validates type annotations using a type checker (e.g.,mypy
).CI Integration:
Benefits
lint
,test
, andcoverage-report
can be directly used in CI workflows.Next Steps
README.md
) to reflect the migration to Poetry and provide usage instructions for the new commands.How to Test
curl -sSL https://install.python-poetry.org | python3 -
poetry run lint poetry run test poetry run coverage-report poetry run type-check poetry run format poetry run format-check
References
This migration marks an important step in modernizing the repository, streamlining workflows, and preparing for robust CI/CD integration.