Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 29, 2024
1 parent 40029a7 commit 06e5cf3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jupyter_server/prometheus/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
"""

from prometheus_client import Gauge, Histogram, Info

from jupyter_server._version import version_info as server_version_info

try:
from notebook._version import version_info as notebook_version_info

v6_notebook_present = notebook_version_info != server_version_info
except ImportError:
# notebook._version is not present, so notebook v6 can not be present
Expand Down

0 comments on commit 06e5cf3

Please sign in to comment.