Skip to content

Add prek and useful pre-commit hooks#24

Merged
amureki merged 3 commits intomainfrom
prek
Jan 5, 2026
Merged

Add prek and useful pre-commit hooks#24
amureki merged 3 commits intomainfrom
prek

Conversation

@amureki
Copy link
Copy Markdown
Owner

@amureki amureki commented Jan 5, 2026

No description provided.

@amureki amureki self-assigned this Jan 5, 2026
@amureki amureki requested a review from Copilot January 5, 2026 20:03
@amureki amureki merged commit 050650b into main Jan 5, 2026
23 checks passed
@amureki amureki deleted the prek branch January 5, 2026 20:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread .pre-commit-config.yaml
Comment thread .pre-commit-config.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants