Skip to content

Commit 311d89a

Browse files
committed
add pre-commit
1 parent 13667ff commit 311d89a

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.pre-commit-config.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v5.0.0
4+
hooks:
5+
- id: check-added-large-files
6+
- id: check-yaml
7+
- id: double-quote-string-fixer
8+
- id: end-of-file-fixer
9+
- id: mixed-line-ending
10+
- id: name-tests-test
11+
- id: requirements-txt-fixer
12+
- id: trailing-whitespace
13+
- repo: https://github.com/crate-ci/typos
14+
rev: v1.28.3
15+
hooks:
16+
- id: typos

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
mkdocs-material
2+
pre-commit

0 commit comments

Comments
 (0)