Skip to content

Commit

Permalink
Merge pull request #42 from 15r10nk/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
style: pre-commit autoupdate
  • Loading branch information
15r10nk authored Feb 6, 2024
2 parents 29192cc + 5eaddea commit 9ce2ced
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ repos:
- hooks:
- id: black
repo: https://github.com/psf/black
rev: 23.10.1
rev: 24.1.1
- hooks:
- id: blacken-docs
args: [-l80]
Expand All @@ -57,7 +57,7 @@ repos:


- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.11.0
rev: v2.12.0
hooks:
- id: pretty-format-yaml
args: [--autofix, --indent, '2']
Expand All @@ -70,7 +70,7 @@ repos:
stages:
- commit-msg
repo: https://github.com/commitizen-tools/commitizen
rev: v3.12.0
rev: v3.14.1


- repo: https://github.com/PyCQA/docformatter
Expand Down
6 changes: 2 additions & 4 deletions inline_snapshot/_inline_snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,13 +383,11 @@ def repr_wrapper(func: _T) -> _T:


@overload
def snapshot() -> Any:
...
def snapshot() -> Any: ...


@overload
def snapshot(obj: T) -> T:
...
def snapshot(obj: T) -> T: ...


@repr_wrapper
Expand Down

0 comments on commit 9ce2ced

Please sign in to comment.