Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #19 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 99 93 -6
Branches 25 26 +1
=========================================
- Hits 99 93 -6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull Request Overview
This PR migrates the project’s linting and formatting tools from black and flake8 to ruff while adding support for Python 3.13. Key changes include:
- Switching from black/flake8 to ruff in configuration files and GitHub Actions.
- Updating test files and internal type hints to accommodate newer Python versions.
- Refactoring file handling in setup.py to use pathlib.
Reviewed Changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/test_unordered.py | Updated imports, type hints, and parameter styles for pytest tests. |
| setup.py | Refactored file reading using pathlib instead of codecs. |
| pytest_unordered/init.py | Adjusted type annotations and error messages in UnorderedList. |
| pyproject.toml | Configured ruff settings to replace black. |
| CHANGELOG.md | Updated changelog to reflect tooling changes and Python 3.13 support. |
| .pre-commit-config.yaml | Added pre-commit hooks for ruff and mypy. |
| .github/workflows/test.yml | Replaced black and flake8 CI steps with pre-commit based linting. |
Files not reviewed (1)
- tox.ini: Language not supported
Add Python 3.13 support
Mogost
approved these changes
Apr 22, 2025
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.
Add Python 3.13 support