Skip to content

Commit 93e7488

Browse files
pehalafruch
authored andcommitted
improvement(pyproject): Add autopep8 configuration
1 parent 58cf3ed commit 93e7488

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Diff for: .pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ repos:
3939
hooks:
4040
- id: autopep8
4141
name: autopep8
42-
entry: autopep8 -i -j 2 --max-line-length=120 --ignore=E226,E24,W50,W690,E402,E731
42+
entry: autopep8 -i -j 2
4343
language: system
4444
types: [python]
4545
exclude: '(\.sh$|argus/.*)'

Diff for: pyproject.toml

+4
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,7 @@ max-args = 12
2525
max-statements = 100
2626
max-branches = 24
2727
max-locals = 15
28+
29+
[tool.autopep8]
30+
max_line_length = 120
31+
ignore = "E226,E24,W50,W690,E402,E731"

0 commit comments

Comments
 (0)