Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (jupyter-server#1070)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Steven Silvester <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and blink1073 authored Nov 14, 2022
1 parent 81535d4 commit d853f29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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]
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion jupyter_server/serverapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d853f29

Please sign in to comment.