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 Nov 28, 2024
1 parent 818cd82 commit a84e7a7
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions home/app_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

import ipywidgets as ipw
import traitlets
from aiidalab.app import AppRemoteUpdateStatus as AppStatus
from aiidalab.app import AppVersion
from jinja2 import Template
from packaging.version import InvalidVersion, parse

from aiidalab.app import AppRemoteUpdateStatus as AppStatus
from aiidalab.app import AppVersion
from home.utils import load_logo
from home.widgets import LogOutputWidget, Spinner, StatusHTML

Expand Down
4 changes: 2 additions & 2 deletions home/app_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
import logging

import ipywidgets as ipw
from aiidalab.app import AiidaLabApp
from aiidalab.utils import load_app_registry_index
from IPython.display import display
from jinja2 import Template

from aiidalab.app import AiidaLabApp
from aiidalab.utils import load_app_registry_index
from home.app_manager import AppManagerWidget

logger = logging.getLogger(__name__)
Expand Down
4 changes: 2 additions & 2 deletions home/start_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

import ipywidgets as ipw
import traitlets
from IPython.display import display

from aiidalab.app import AiidaLabApp
from aiidalab.config import AIIDALAB_APPS
from IPython.display import display

from home.utils import load_widget
from home.widgets import AppStatusInfoWidget

Expand Down
3 changes: 1 addition & 2 deletions home/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
from os import path

import ipywidgets as ipw
from markdown import markdown

from aiidalab.config import AIIDALAB_APPS
from markdown import markdown


def load_widget(name):
Expand Down
1 change: 0 additions & 1 deletion home/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import ipywidgets as ipw
import traitlets

from aiidalab.app import AppRemoteUpdateStatus as AppStatus
from aiidalab.config import AIIDALAB_REGISTRY

Expand Down
2 changes: 1 addition & 1 deletion single_app.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
"import urllib.parse as urlparse\n",
"\n",
"import ipywidgets as ipw\n",
"\n",
"from aiidalab.app import AiidaLabApp\n",
"from aiidalab.config import AIIDALAB_APPS\n",
"from aiidalab.utils import load_app_registry_entry\n",
"\n",
"from home.app_manager import AppManagerWidget"
]
},
Expand Down

0 comments on commit a84e7a7

Please sign in to comment.