Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update .pre-commit-config.yaml #57

Merged
merged 2 commits into from
Oct 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
# See https://pre-commit.com/hooks.html for more hooks

repos:
# Add official pre-commit hooks first
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
name: Trailing Whitespace
description: Removes trailing whitespace in text files
- id: end-of-file-fixer
name: End of File Fixer
description: Ensures that files end with a newline
- id: check-yaml
name: Check YAML
description: Checks whether YAML files are valid
- id: check-added-large-files
name: Check Added Large Files
description: Prevents adding large files to the repository

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.42.0
hooks:
Expand All @@ -26,20 +43,3 @@ repos:
hooks:
- id: codespell
args: ["--ignore-words", ".github/linters/codespell.txt"]

# Add official pre-commit hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
name: Trailing Whitespace
description: Removes trailing whitespace in text files
- id: end-of-file-fixer
name: End of File Fixer
description: Ensures that files end with a newline
- id: check-yaml
name: Check YAML
description: Checks whether YAML files are valid
- id: check-added-large-files
name: Check Added Large Files
description: Prevents adding large files to the repository
Loading