Skip to content

Commit

Permalink
Update some pre-commits
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Le <[email protected]>
  • Loading branch information
LecrisUT committed Jun 17, 2024
1 parent c8cdf1a commit ba4933e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,9 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: 'v2.0.2'
rev: 'v2.0.4'
hooks:
- id: autopep8
args:
- --recursive
- --in-place
- --aggressive
- --aggressive
- --hang-closing
- --max-line-length=99

- repo: https://github.com/PyCQA/isort
rev: "5.12.0"
Expand All @@ -33,7 +26,7 @@ repos:
)$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.4.0"
rev: "v4.6.0"
hooks:
- id: end-of-file-fixer
- id: mixed-line-ending
Expand Down
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,10 @@ markers = [
testpaths = [
'tests',
]

[tool.autopep8]
max_line_length = 99
in-place = true
recursive = true
hang-closing = true
aggressive = 2

0 comments on commit ba4933e

Please sign in to comment.