Skip to content

Commit 92fcfe6

Browse files
committed
Update some pre-commits
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
1 parent 6af5881 commit 92fcfe6

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,9 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/pre-commit/mirrors-autopep8
5-
rev: 'v2.0.2'
5+
rev: 'v2.0.4'
66
hooks:
77
- id: autopep8
8-
args:
9-
- --recursive
10-
- --in-place
11-
- --aggressive
12-
- --aggressive
13-
- --hang-closing
14-
- --max-line-length=99
158

169
- repo: https://github.com/PyCQA/isort
1710
rev: "5.12.0"
@@ -33,7 +26,7 @@ repos:
3326
)$
3427
3528
- repo: https://github.com/pre-commit/pre-commit-hooks
36-
rev: "v4.4.0"
29+
rev: "v4.6.0"
3730
hooks:
3831
- id: end-of-file-fixer
3932
- id: mixed-line-ending

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,10 @@ markers = [
103103
testpaths = [
104104
'tests',
105105
]
106+
107+
[tool.autopep8]
108+
max_line_length = 99
109+
in-place = true
110+
recursive = true
111+
hang-closing = true
112+
aggressive = 2

0 commit comments

Comments
 (0)