Skip to content

Commit f471023

Browse files
committed
Add pre-commit .yaml
1 parent 70a2284 commit f471023

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.pre-commit-config.yaml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.6.0
4+
hooks:
5+
- id: trailing-whitespace
6+
args: [--markdown-linebreak-ext=md]
7+
- id: end-of-file-fixer
8+
- id: check-yaml
9+
- id: check-added-large-files
10+
- id: check-merge-conflict
11+
- id: detect-private-key
12+
- id: mixed-line-ending
13+
- repo: https://github.com/psf/black-pre-commit-mirror
14+
rev: 24.4.2
15+
hooks:
16+
- id: black
17+
language_version: python3.12
18+
args: [--check, --verbose]
19+
- repo: https://github.com/codespell-project/codespell
20+
rev: v2.2.5
21+
hooks:
22+
- id: codespell
23+
- repo: local
24+
hooks:
25+
- id: pylint
26+
name: pylint
27+
entry: pylint
28+
language: python
29+
types: [python]
30+
require_serial: true
31+
stages: [pre-commit, pre-push]
32+
args: ["--verbose"]

0 commit comments

Comments
 (0)