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 10, 2023
1 parent a05e045 commit 1521006
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 1 addition & 5 deletions jupyverse_api/jupyverse_api/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,7 @@ def main(

def get_config(disable: Tuple[str, ...]) -> str:
group = entry_points().select(group="jupyverse.components")
jupyverse_components = [
ep.name
for ep in group
if ep.name not in disable
]
jupyverse_components = [ep.name for ep in group if ep.name not in disable]

config = ["component:\n type: jupyverse\n components:\n"]
for component in jupyverse_components:
Expand Down
1 change: 1 addition & 0 deletions plugins/lab/fps_lab/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from typing import List, Optional, Tuple

import json5 # type: ignore

if sys.version_info >= (3, 10):
from importlib.metadata import entry_points
else:
Expand Down

0 comments on commit 1521006

Please sign in to comment.