Merged
Conversation
75da959 to
a042d2f
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR sets up pre-commit hooks for the project to automate code quality checks before commits. The changes include adding pre-commit configuration, updating CI workflows, and applying automatic formatting fixes across test files.
- Adds pre-commit configuration with hooks for code formatting (ruff), linting, type checking (mypy), and basic file checks
- Updates GitHub Actions workflow to use pre-commit instead of individual tool runs
- Applies automatic import sorting and whitespace formatting fixes across multiple test files
Reviewed Changes
Copilot reviewed 35 out of 38 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
.pre-commit-config.yaml |
Adds pre-commit configuration with ruff, mypy, and basic file validation hooks |
.github/workflows/check.yml |
Updates CI workflow to use pre-commit and newer action versions |
pyproject.toml |
Updates ruff configuration and adds type stub dependencies |
CONTRIBUTING.md |
Adds mandatory pre-commit setup instructions for contributors |
| Multiple test files | Applies automatic import sorting and whitespace cleanup |
docs/source/index.rst |
Removes trailing whitespace |
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.
No description provided.