Conversation
* origin/main: Modernize the JS code (#23)
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request adds comprehensive pre-commit hook configuration and integrates prek for automated code quality checks in CI. The changes also apply consistent formatting across markdown documentation and YAML workflow files.
- Adds 7 pre-commit hooks including trailing-whitespace, pyupgrade, django-upgrade, mdformat, ruff, and yamlfmt
- Integrates prek-action into the CI lint workflow for automated pre-commit hook execution
- Applies formatting changes from mdformat and yamlfmt to documentation and workflow files
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
.pre-commit-config.yaml |
Adds comprehensive pre-commit hooks for Python, Django, Markdown, and YAML with tools like pyupgrade, django-upgrade, ruff, mdformat, and yamlfmt |
.github/workflows/ci.yml |
Adds prek-action for pre-commit hook execution and applies yamlfmt formatting (removes blank lines, standardizes array syntax) |
.github/workflows/release.yml |
Applies yamlfmt formatting by removing extraneous blank lines |
chrome-extension/README.md |
Applies mdformat changes including whitespace cleanup and markdown list formatting standardization |
chrome-extension/PRIVACY.md |
Applies mdformat changes including table alignment, whitespace cleanup, and list formatting |
README.md |
Changes Python code example from single quotes to double quotes (ruff/black formatting) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.