Skip to content

Commit

Permalink
Merge pull request #782 from ipython/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Oct 4, 2022
2 parents dad49b3 + 6cb432b commit e358fa7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ repos:
args: [--profile=black]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.971
rev: v0.981
hooks:
- id: mypy
args: ["--config-file", "pyproject.toml"]
Expand Down
2 changes: 1 addition & 1 deletion traitlets/traitlets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1285,7 +1285,7 @@ def __setstate__(self, state):
if isinstance(value, EventHandler):
value.instance_init(self)

@property # type:ignore[misc]
@property
@contextlib.contextmanager
def cross_validation_lock(self):
"""
Expand Down

0 comments on commit e358fa7

Please sign in to comment.