CI job improvements - #7
Conversation
…low to PR-based TestPyPI
… publish to PyPI from main/releases
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Pull Request Overview
This PR introduces code formatting improvements and pre-commit hooks to maintain code quality, bumps the version to 2.0.3, and refactors the CI/CD publishing workflow. The changes focus on applying Black formatting to tests and documentation, setting up automated code quality checks, and streamlining the PyPI publishing process.
- Version bump from 2.0.2 to 2.0.3 across the project
- Addition of pre-commit hooks for automated code quality enforcement
- Code formatting cleanup using Black on test files and documentation
- CI/CD workflow refinement to separate TestPyPI publishing into a manual workflow
Reviewed Changes
Copilot reviewed 7 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
tests/unit/test_coverage_improvements.py |
Applied Black formatting - removed trailing whitespace, fixed line spacing, and reformatted long lines |
pyproject.toml |
Version bumped to 2.0.3 and added pre-commit to dev dependencies |
fmd_api/_version.py |
Version string updated to 2.0.3 |
fmd_api/client.py |
Applied Black formatting to multi-line statements |
docs/PROPOSED_BRANCH_AND_STRUCTURE.md |
Fixed trailing whitespace |
docs/PROPOSAL.md |
Fixed trailing whitespace and line endings |
docs/MIGRATE_FROM_V1.md |
Fixed trailing whitespace throughout the file |
docs/HOME_ASSISTANT_REVIEW.md |
Fixed trailing whitespace issues |
README.md |
Fixed trailing whitespace |
.pre-commit-config.yaml |
New file configuring pre-commit hooks for Black, flake8, mypy, and general file cleanup |
.gitignore |
Fixed trailing whitespace |
.github/workflows/publish.yml |
Removed automatic TestPyPI publishing on branch pushes; now only publishes to PyPI on main branch or releases |
.github/workflows/publish-testpypi.yml |
New manual workflow for TestPyPI publishing with confirmation requirement |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.