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 Aug 19, 2024
1 parent 76d08f3 commit 7f1f129
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/aiidalab_qe/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def cli():
@click.option("-f", "--force", is_flag=True)
@click.option("--computer")
@click.option("-p", "--profile", default=_DEFAULT_PROFILE)

def install_qe(force, profile):
from aiida import load_profile
from aiidalab_qe.setup.codes import codes_are_setup, install
Expand Down
4 changes: 3 additions & 1 deletion src/aiidalab_qe/common/setup_codes.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import ipywidgets as ipw
import traitlets

from ..setup.codes import QE_VERSION, install
from ..setup.codes import QE_VERSION
from .widgets import ProgressBar

__all__ = [
Expand Down Expand Up @@ -249,8 +249,10 @@ def _setup(computer):
"Installation process did not finish in the expected time."
) from None


FN_DO_NOT_SETUP = Path.cwd().joinpath(".do-not-setup-on-localhost")


class QESetupWidget(ipw.VBox):
installed = traitlets.Bool(allow_none=True).tag(readonly=True)
busy = traitlets.Bool().tag(readonly=True)
Expand Down

0 comments on commit 7f1f129

Please sign in to comment.