[PR #270] Add pre-commit flow #291

Open
opened 2025-11-02 00:11:20 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mikeroyal/Self-Hosting-Guide/pull/270
Author: @mdeweerd
Created: 9/21/2023
Status: 🔄 Open

Base: mainHead: flow/pre-commit


📝 Commits (3)

  • 6a1e435 Add pre-commit flow
  • 7d65d2c Add more spelling exceptions
  • 147b8a6 ci: Add workflow (check spelling, formatting excluded)

📊 Changes

3 files changed (+98 additions, -0 deletions)

View changed files

.codespellrc (+5 -0)
.github/workflows/pre-commit.yml (+66 -0)
.pre-commit-config.yaml (+27 -0)

📄 Description

I propose pre-commit.

pip install pre-commit
# Check spelling - you'll find several typos.
pre-commit run -a codespell 
# Format & check spelling - formatting keeps width limited (useful with raw text editor) and unifies formatting choices.
# Note: merge pull requests before reformatting README.md
pre-commit run -a
# Run on commit:
pre-commit install

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mikeroyal/Self-Hosting-Guide/pull/270 **Author:** [@mdeweerd](https://github.com/mdeweerd) **Created:** 9/21/2023 **Status:** 🔄 Open **Base:** `main` ← **Head:** `flow/pre-commit` --- ### 📝 Commits (3) - [`6a1e435`](https://github.com/mikeroyal/Self-Hosting-Guide/commit/6a1e435d0ab9a9d49318dbe4dd1345cc26e92fcb) Add pre-commit flow - [`7d65d2c`](https://github.com/mikeroyal/Self-Hosting-Guide/commit/7d65d2c644722ad2e78c7d92b8d188e240c22305) Add more spelling exceptions - [`147b8a6`](https://github.com/mikeroyal/Self-Hosting-Guide/commit/147b8a68cfe6feb15676dc1def6a5a1620428faf) ci: Add workflow (check spelling, formatting excluded) ### 📊 Changes **3 files changed** (+98 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.codespellrc` (+5 -0) ➕ `.github/workflows/pre-commit.yml` (+66 -0) ➕ `.pre-commit-config.yaml` (+27 -0) </details> ### 📄 Description I propose pre-commit. ```shell pip install pre-commit # Check spelling - you'll find several typos. pre-commit run -a codespell # Format & check spelling - formatting keeps width limited (useful with raw text editor) and unifies formatting choices. # Note: merge pull requests before reformatting README.md pre-commit run -a # Run on commit: pre-commit install ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 00:11:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/Self-Hosting-Guide#291