Skip to content

Commit a0e9f7c

Browse files
committed
Adding configuration file to be a pre-commit hook
1 parent b458668 commit a0e9f7c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
hooks:
1111
- id: check-added-large-files
1212
args: ['--maxkb=200']
13-
- repo: https://github.com/psf/black
13+
- repo: https://github.com/psf/black-mirror
1414
rev: 25.1.0
1515
hooks:
1616
- id: black

.pre-commit-hooks.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This is a configuration file for a pre-commit hook
2+
- id: comment-spell-check
3+
name: Comment Spell Check
4+
description: "Automatically spell checks comments of a codebase."
5+
entry: comment_spell_check
6+
language: python
7+
minimum_pre_commit_version: 2.9.2
8+
types_or: [python, rst, markdown, ruby, java ]

0 commit comments

Comments
 (0)