Skip to content

Commit

Permalink
Add back noqa
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Aug 5, 2022
1 parent ef21a36 commit 9463682
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aiidalab_launch/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@
pass_app_state = click.make_pass_decorator(ApplicationState, ensure=True)


def exception_handler(exception_type, exception, _):
def exception_handler(exception_type, exception, traceback): # noqa 100
click.echo(f"Unexpected {exception_type.__name__}: {exception}", err=True)
click.echo(
"Use verbose mode `aiidalab-launch --verbose` to see full stack trace", err=True
)


def with_profile(cmd):
def callback(ctx, _, value):
def callback(ctx, param, value): # noqa 100
app_state = ctx.ensure_object(ApplicationState)
name = value or app_state.config.default_profile
LOGGER.info(f"Using profile: {name}")
Expand Down

0 comments on commit 9463682

Please sign in to comment.