Skip to content

Commit 6ba0ad8

Browse files
committed
Added sample pre-commit configuration file
1 parent 9d9530b commit 6ba0ad8

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

pre-commit-config.sample.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# This is the configuration file for pre-commit (https://pre-commit.com/).
2+
# To use:
3+
# * Install pre-commit (https://pre-commit.com/#installation)
4+
# * Copy this file as ".pre-commit-config.yaml"
5+
# * Run "pre-commit install".
6+
repos:
7+
- repo: https://github.com/pre-commit/pre-commit-hooks
8+
rev: v3.4.0
9+
hooks:
10+
- id: check-toml
11+
- id: debug-statements
12+
- id: end-of-file-fixer
13+
- id: mixed-line-ending
14+
args: ["--fix=lf"]
15+
- id: trailing-whitespace
16+
- repo: https://github.com/pre-commit/mirrors-autopep8
17+
rev: v1.5.6
18+
hooks:
19+
- id: autopep8
20+
- repo: https://github.com/pycqa/isort
21+
rev: 5.8.0
22+
hooks:
23+
- id: isort
24+
additional_dependencies: [toml]

0 commit comments

Comments
 (0)