Skip to content

Commit d853f29

Browse files
[pre-commit.ci] pre-commit autoupdate (#1070)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Steven Silvester <[email protected]>
1 parent 81535d4 commit d853f29

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ repos:
3030
files: \.py$
3131

3232
- repo: https://github.com/pre-commit/mirrors-mypy
33-
rev: v0.982
33+
rev: v0.990
3434
hooks:
3535
- id: mypy
3636
additional_dependencies: [types-requests]
@@ -47,7 +47,7 @@ repos:
4747
- id: mdformat
4848

4949
- repo: https://github.com/asottile/pyupgrade
50-
rev: v3.2.0
50+
rev: v3.2.2
5151
hooks:
5252
- id: pyupgrade
5353
args: [--py38-plus]
@@ -76,7 +76,7 @@ repos:
7676
stages: [manual]
7777

7878
- repo: https://github.com/sirosen/check-jsonschema
79-
rev: 0.18.4
79+
rev: 0.19.1
8080
hooks:
8181
- id: check-jsonschema
8282
name: "Check GitHub Workflows"

jupyter_server/serverapp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2292,7 +2292,7 @@ def shutdown_no_activity(self):
22922292
if len(km) != 0:
22932293
return # Kernels still running
22942294

2295-
if self.extension_manager.any_activity:
2295+
if self.extension_manager.any_activity():
22962296
return
22972297

22982298
seconds_since_active = (utcnow() - self.web_app.last_activity()).total_seconds()

0 commit comments

Comments
 (0)