Skip to content

Commit

Permalink
pre-commit: update hooks and apply fixes
Browse files Browse the repository at this point in the history
The only changes are that Black 24 updated the style for stubs and
if-else expressions.

Signed-off-by: Omar Sandoval <[email protected]>
  • Loading branch information
osandov committed Sep 18, 2024
1 parent 8488aad commit ad9b241
Show file tree
Hide file tree
Showing 8 changed files with 162 additions and 60 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
exclude: ^contrib/
repos:
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
- repo: https://github.com/psf/black
rev: 23.11.0
rev: 24.8.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 6.1.0
rev: 7.1.1
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.7.1
rev: v1.11.2
hooks:
- id: mypy
args: [--show-error-codes, --strict, --no-warn-return-any, --no-warn-unused-ignores]
files: ^(drgn/.*\.py|_drgn.pyi|_drgn_util/.*\.py|tools/.*\.py)$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
exclude_types: [diff]
Expand Down
Loading

0 comments on commit ad9b241

Please sign in to comment.