Skip to content

Commit

Permalink
Black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmits committed Jan 30, 2024
1 parent 2d85a32 commit 968570c
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 13 deletions.
1 change: 1 addition & 0 deletions vantage6/vantage6/cli/context.py
Expand Up @@ -18,6 +18,7 @@
functionality but is tailored to the Docker environment.
"""

# TODO BvB 2023-01-10 we should have a look at all context classes and define
# them in the same place. Now the DockerNodeContext is defined in the node, but
# the server only has a TestServerContext there. This should be made consistent
Expand Down
1 change: 1 addition & 0 deletions vantage6/vantage6/cli/globals.py
@@ -1,6 +1,7 @@
"""
This module contains global variables that are used throughout the CLI.
"""

from pathlib import Path
from vantage6.common.globals import APPNAME

Expand Down
1 change: 1 addition & 0 deletions vantage6/vantage6/cli/node/common/__init__.py
@@ -1,6 +1,7 @@
"""
Common functions that are used in node CLI commands
"""

from typing import Iterable

import questionary as q
Expand Down
30 changes: 17 additions & 13 deletions vantage6/vantage6/cli/test/feature_tester.py
Expand Up @@ -47,20 +47,24 @@
help="Run the diagnostic test on only nodes that are online",
)
@click.option("--no-vpn", is_flag=True, help="Don't execute VPN tests")
@click.option("--private-key", type=str, default=None,
help="Path to the private key for end-to-end encryption")
@click.option(
"--private-key",
type=str,
default=None,
help="Path to the private key for end-to-end encryption",
)
def cli_test_features(
host: str,
port: int,
api_path: str,
username: str,
password: str,
collaboration: int,
organizations: list[int] | None,
all_nodes: bool,
online_only: bool,
no_vpn: bool,
private_key: str | None,
host: str,
port: int,
api_path: str,
username: str,
password: str,
collaboration: int,
organizations: list[int] | None,
all_nodes: bool,
online_only: bool,
no_vpn: bool,
private_key: str | None,
) -> list[dict]:
"""
Run diagnostic checks on an existing vantage6 network.
Expand Down
1 change: 1 addition & 0 deletions vantage6/vantage6/cli/utils.py
@@ -1,6 +1,7 @@
"""
Utility functions for the CLI
"""

from __future__ import annotations

import re
Expand Down

0 comments on commit 968570c

Please sign in to comment.