Skip to content

Commit 6469a9a

Browse files
committed
Add autopep8 to pre-commit config and add config file
1 parent ab102c6 commit 6469a9a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ repos:
66
hooks:
77
- id: end-of-file-fixer
88
- id: trailing-whitespace
9+
- repo: https://github.com/pre-commit/mirrors-autopep8
10+
rev: v1.5.4
11+
hooks:
12+
- id: autopep8

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tool.autopep8]
2+
max_line_length = 120

0 commit comments

Comments
 (0)