diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 689f040..322648b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: - id: yamlfmt - repo: https://github.com/psf/black - rev: 22.12.0 + rev: 23.3.0 hooks: - id: black language_version: python3 # Should be a command that runs python3.6+ @@ -44,7 +44,7 @@ repos: - id: setup-cfg-fmt - repo: https://github.com/sirosen/check-jsonschema - rev: 0.19.2 + rev: 0.22.0 hooks: - id: check-github-workflows diff --git a/home/app_store.py b/home/app_store.py index 0d20a13..f159f3f 100644 --- a/home/app_store.py +++ b/home/app_store.py @@ -174,7 +174,6 @@ def render(self, _=None): class AppStoreAppManagerWidget(AppManagerWidget): - TEMPLATE = Template( """

{{ app.title }}

Description: {{ app.description | truncate(200) }}
diff --git a/home/start_page.py b/home/start_page.py index 8d5e080..d6a10bb 100644 --- a/home/start_page.py +++ b/home/start_page.py @@ -102,7 +102,6 @@ def render(self): with self.output: for name in apps: - # Create app widget if it has not been created yet. if name not in self._app_widgets: self._app_widgets[name] = self._create_app_widget(name) diff --git a/home/utils.py b/home/utils.py index edaa31f..71ca51d 100644 --- a/home/utils.py +++ b/home/utils.py @@ -40,7 +40,6 @@ def load_start_md(name): """Load app appearance from a Markdown file.""" fname = path.join(AIIDALAB_APPS, name, "start.md") try: - md_src = open(fname).read() md_src = md_src.replace("](./", "](../{}/".format(name)) html = markdown(md_src) diff --git a/home/widgets.py b/home/widgets.py index e08d133..a0ac4cc 100644 --- a/home/widgets.py +++ b/home/widgets.py @@ -158,7 +158,6 @@ def _observe_enabled(self, change): class LogOutputWidget(ipw.VBox): - value = traitlets.Unicode() template = traitlets.Unicode()