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 d6b9556 commit 4ec1daa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jupyter_server/prometheus/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@


if (
notebook_version_info is not None # No notebook package found
and notebook_version_info < (7,) # Notebook package found, is version 6
notebook_version_info is not None # No notebook package found
and notebook_version_info < (7,) # Notebook package found, is version 6
# Notebook package found, but its version is the same as jupyter_server
# version. This means some package (lookin at you, nbclassic) has shimmed
# the notebook package to instead be imports from the jupyter_server package.
Expand Down

0 comments on commit 4ec1daa

Please sign in to comment.