diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5f7c66023b..ad8b4c7bdc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,7 +30,7 @@ repos: files: \.py$ - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.982 + rev: v0.990 hooks: - id: mypy additional_dependencies: [types-requests] @@ -47,7 +47,7 @@ repos: - id: mdformat - repo: https://github.com/asottile/pyupgrade - rev: v3.2.0 + rev: v3.2.2 hooks: - id: pyupgrade args: [--py38-plus] @@ -76,7 +76,7 @@ repos: stages: [manual] - repo: https://github.com/sirosen/check-jsonschema - rev: 0.18.4 + rev: 0.19.1 hooks: - id: check-jsonschema name: "Check GitHub Workflows" diff --git a/jupyter_server/serverapp.py b/jupyter_server/serverapp.py index b39bb097d6..e4e8d83880 100644 --- a/jupyter_server/serverapp.py +++ b/jupyter_server/serverapp.py @@ -2292,7 +2292,7 @@ def shutdown_no_activity(self): if len(km) != 0: return # Kernels still running - if self.extension_manager.any_activity: + if self.extension_manager.any_activity(): return seconds_since_active = (utcnow() - self.web_app.last_activity()).total_seconds()