Skip to content

Commit 333b45b

Browse files
committed
Add autopep8 as pre-commit hook
1 parent f670a97 commit 333b45b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,8 @@ repos:
1111
files: "^(.*/)?README.md"
1212
- id: markdownlint-fix
1313
files: "^(.*/)?README.md"
14+
- repo: https://github.com/hhatto/autopep8
15+
rev: v2.0.4
16+
hooks:
17+
- id: autopep8
18+
args: [ --in-place, --exit-code, --aggressive, --ignore=E402, --max-line-length=120 ]

0 commit comments

Comments
 (0)