mirror of
https://github.com/cyclotruc/gitingest.git
synced 2026-04-28 10:39:31 +00:00
Modernize Codebase and Enhance CI Workflow (#67)
Updated Type Hints: Used pyupgrade with --py39-plus and --py310-plus flags to upgrade type hints to Python 3.9+ and 3.10+ syntax. Enforced Double Quotes: Removed skip-string-normalization = true from the black configuration in pyproject.toml. Reran black via pre-commit hooks to enforce double quotes in the codebase. Refactored Dependency Management: Split requirements.txt into requirements.txt (runtime dependencies) and requirements-dev.txt (development dependencies). Enhanced CI Workflow: Integrated pre-commit hooks into the CI pipeline to enforce code quality checks automatically. Added pip caching to the CI workflow to speed up dependency installation. Automated Package Publishing: Added a publish.yml GitHub Actions workflow to automate publishing to PyPI. The workflow triggers on release creation or manual dispatch, builds the package, and publishes it to PyPI using twine.
This commit is contained in:
parent
3c5e7e95ae
commit
848b9dc1ed
21 changed files with 398 additions and 342 deletions
7
requirements-dev.txt
Normal file
7
requirements-dev.txt
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
-r requirements.txt
|
||||
black
|
||||
djlint
|
||||
pre-commit
|
||||
pylint
|
||||
pytest
|
||||
pytest-asyncio
|
||||
Loading…
Add table
Add a link
Reference in a new issue