From aefaa85ce80dea139367b9270f77dc88009b0c16 Mon Sep 17 00:00:00 2001 From: Mike Grima Date: Wed, 27 Mar 2024 14:26:39 -0400 Subject: [PATCH] Fixing broken dependencies - Upped the version to 1.0.2 - Updated the `tests/starfleet_included_plugins/account_index_generator/generatedIndex.json` file to account for newer regions - Reformatted to latest standards --- pyproject.toml | 2 +- setup.py | 1 + src/requirements.txt | 12 ++-- src/starfleet/account_index/loader.py | 1 + .../starfleet_default_index/__init__.py | 1 + .../plugins/starfleet_default_index/ship.py | 1 + src/starfleet/account_index/resolvers.py | 1 + src/starfleet/account_index/schematics.py | 1 + src/starfleet/cli/components.py | 1 + src/starfleet/starbase/entrypoints.py | 1 + src/starfleet/starbase/main.py | 1 + src/starfleet/starbase/utils.py | 1 + src/starfleet/startup.py | 1 + src/starfleet/utils/config_schema.py | 1 + src/starfleet/utils/configuration.py | 1 + src/starfleet/utils/logging.py | 1 + src/starfleet/utils/niceties.py | 1 + src/starfleet/utils/plugin_loader.py | 1 + src/starfleet/utils/secrets.py | 1 + src/starfleet/utils/slack.py | 1 + .../worker_ships/base_payload_schemas.py | 1 + src/starfleet/worker_ships/cli_utils.py | 1 + src/starfleet/worker_ships/lambda_utils.py | 1 + src/starfleet/worker_ships/loader.py | 5 +- src/starfleet/worker_ships/niceties.py | 1 + .../account_index_generator/__init__.py | 1 + .../plugins/account_index_generator/ship.py | 1 + .../plugins/account_index_generator/utils.py | 1 + .../plugins/aws_config/__init__.py | 1 + .../worker_ships/plugins/aws_config/logic.py | 1 + .../plugins/aws_config/schemas.py | 1 + .../worker_ships/plugins/aws_config/ship.py | 1 + .../plugins/github_sync/__init__.py | 1 + .../worker_ships/plugins/github_sync/auth.py | 1 + .../worker_ships/plugins/github_sync/ship.py | 1 + .../worker_ships/plugins/github_sync/utils.py | 1 + .../worker_ships/plugins/iam/__init__.py | 1 + .../plugins/iam/iambic_imports.py | 1 + .../worker_ships/plugins/iam/role_ship.py | 3 +- .../worker_ships/plugins/iam/schemas.py | 5 +- src/starfleet/worker_ships/ship_schematics.py | 1 + tests/account_index/conftest.py | 1 + .../test_account_index_components.py | 1 + tests/account_index/test_resolvers.py | 1 + .../testing_plugins/basic_plugin/__init__.py | 1 + tests/conftest.py | 1 + tests/starbase/conftest.py | 1 + tests/starbase/test_starbase.py | 1 + tests/starbase/test_utils.py | 1 + .../account_index_generator/conftest.py | 1 + .../generatedIndex.json | 62 ++++++++++++------- .../test_account_indexer_ship.py | 1 + .../test_default_account_index.py | 1 + .../aws_config/conftest.py | 1 + .../aws_config/test_logic.py | 1 + .../aws_config/test_schemas.py | 1 + .../aws_config/test_ship.py | 1 + .../github_sync/conftest.py | 1 + .../github_sync/test_auth.py | 1 + .../github_sync/test_schemas.py | 1 + .../github_sync/test_ship.py | 1 + .../github_sync/test_utils.py | 1 + .../iam/conftest.py | 1 + .../iam/test_role_ship.py | 1 + .../iam/test_schemas.py | 1 + tests/test_cli_components.py | 1 + tests/test_slack.py | 1 + tests/test_starfleet.py | 1 + tests/test_utils.py | 1 + tests/worker_ship_utils/conftest.py | 1 + tests/worker_ship_utils/test_niceties.py | 1 + tests/worker_ship_utils/test_schemas.py | 1 + tests/worker_ship_utils/test_utils.py | 1 + tests/worker_ship_utils/test_worker_ship.py | 1 + .../testing_plugins/basic_plugin/__init__.py | 1 + 75 files changed, 126 insertions(+), 32 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 98e06cc..c2cc9f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ authors = [ {name = "Gemini", email = "careers@gemini.com"}, {name = "Mike Grima", email = "michael.grima@gemini.com"}, ] -version = "1.0.1" +version = "1.0.2" dynamic = ["dependencies"] [tool.setuptools] diff --git a/setup.py b/setup.py index 6d46f5b..40ee77e 100644 --- a/setup.py +++ b/setup.py @@ -7,6 +7,7 @@ :Module: setup :Author: Mike Grima """ + from setuptools import setup setup() diff --git a/src/requirements.txt b/src/requirements.txt index 0453d07..05b5034 100644 --- a/src/requirements.txt +++ b/src/requirements.txt @@ -1,13 +1,13 @@ +iambic-core==0.11.97 cloudaux-lite==1.0.0 click==8.1.7 PyYAML==6.0.1 -marshmallow==3.20.1 +marshmallow==3.21.1 retry==0.9.2 pyjwt==2.8.0 requests==2.31.0 -cryptography==41.0.7 -botocore==1.34.11 -boto3==1.34.11 -slack-sdk==3.26.1 +# cryptography==42.0.5 Handled by iambic-core +botocore==1.34.71 +boto3==1.34.71 +slack-sdk==3.27.1 deepdiff==6.7.1 -iambic-core==0.11.97 diff --git a/src/starfleet/account_index/loader.py b/src/starfleet/account_index/loader.py index 047c6b4..38c2a37 100644 --- a/src/starfleet/account_index/loader.py +++ b/src/starfleet/account_index/loader.py @@ -9,6 +9,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + import starfleet.account_index.plugins from starfleet.account_index.schematics import AccountIndex, AccountIndexInstance from starfleet.utils.configuration import STARFLEET_CONFIGURATION diff --git a/src/starfleet/account_index/plugins/starfleet_default_index/__init__.py b/src/starfleet/account_index/plugins/starfleet_default_index/__init__.py index acfe65f..4edf7f1 100644 --- a/src/starfleet/account_index/plugins/starfleet_default_index/__init__.py +++ b/src/starfleet/account_index/plugins/starfleet_default_index/__init__.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from starfleet.account_index.plugins.starfleet_default_index.ship import StarfleetDefaultAccountIndex ACCOUNT_INDEX_PLUGINS = [StarfleetDefaultAccountIndex] diff --git a/src/starfleet/account_index/plugins/starfleet_default_index/ship.py b/src/starfleet/account_index/plugins/starfleet_default_index/ship.py index d667c38..de67dfd 100644 --- a/src/starfleet/account_index/plugins/starfleet_default_index/ship.py +++ b/src/starfleet/account_index/plugins/starfleet_default_index/ship.py @@ -8,6 +8,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=too-many-locals,too-many-statements import json from typing import Any, Dict, Optional, Set diff --git a/src/starfleet/account_index/resolvers.py b/src/starfleet/account_index/resolvers.py index 14f5e3e..47d0efb 100644 --- a/src/starfleet/account_index/resolvers.py +++ b/src/starfleet/account_index/resolvers.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from typing import Any, Dict, Set from starfleet.account_index.loader import ACCOUNT_INDEX diff --git a/src/starfleet/account_index/schematics.py b/src/starfleet/account_index/schematics.py index 9941b0b..2e049aa 100644 --- a/src/starfleet/account_index/schematics.py +++ b/src/starfleet/account_index/schematics.py @@ -8,6 +8,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from typing import Set, Dict, Optional, TypeVar diff --git a/src/starfleet/cli/components.py b/src/starfleet/cli/components.py index 6c7214e..f7f74fd 100644 --- a/src/starfleet/cli/components.py +++ b/src/starfleet/cli/components.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from typing import Any, List import click diff --git a/src/starfleet/starbase/entrypoints.py b/src/starfleet/starbase/entrypoints.py index be94909..9c2c373 100644 --- a/src/starfleet/starbase/entrypoints.py +++ b/src/starfleet/starbase/entrypoints.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + import json from typing import Any, Dict diff --git a/src/starfleet/starbase/main.py b/src/starfleet/starbase/main.py index fdfe00e..37ed2b3 100644 --- a/src/starfleet/starbase/main.py +++ b/src/starfleet/starbase/main.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + import json from typing import Any, Dict, Tuple, Optional from urllib.parse import unquote_plus diff --git a/src/starfleet/starbase/utils.py b/src/starfleet/starbase/utils.py index 85e62ad..46e7bff 100644 --- a/src/starfleet/starbase/utils.py +++ b/src/starfleet/starbase/utils.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + import json from typing import Any, Dict, List, Type, Generator diff --git a/src/starfleet/startup.py b/src/starfleet/startup.py index 5025f36..b5ef66f 100644 --- a/src/starfleet/startup.py +++ b/src/starfleet/startup.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from starfleet.utils.logging import LOGGER # noqa pylint: disable=W0611 from starfleet.utils.configuration import STARFLEET_CONFIGURATION from starfleet.account_index.loader import ACCOUNT_INDEX diff --git a/src/starfleet/utils/config_schema.py b/src/starfleet/utils/config_schema.py index 5c6db8d..3d8992d 100644 --- a/src/starfleet/utils/config_schema.py +++ b/src/starfleet/utils/config_schema.py @@ -8,6 +8,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from typing import Any, Dict from marshmallow import Schema, fields, INCLUDE, validate, validates_schema, ValidationError diff --git a/src/starfleet/utils/configuration.py b/src/starfleet/utils/configuration.py index 491b7b1..ec526fb 100644 --- a/src/starfleet/utils/configuration.py +++ b/src/starfleet/utils/configuration.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + import logging import os from typing import Any, Dict diff --git a/src/starfleet/utils/logging.py b/src/starfleet/utils/logging.py index 7a757d3..51795f2 100644 --- a/src/starfleet/utils/logging.py +++ b/src/starfleet/utils/logging.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + import logging LOGGER = logging.getLogger("starfleet") diff --git a/src/starfleet/utils/niceties.py b/src/starfleet/utils/niceties.py index e045e20..b08bf4f 100644 --- a/src/starfleet/utils/niceties.py +++ b/src/starfleet/utils/niceties.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from typing import Set import boto3 diff --git a/src/starfleet/utils/plugin_loader.py b/src/starfleet/utils/plugin_loader.py index 5514a6d..9cbbdbc 100644 --- a/src/starfleet/utils/plugin_loader.py +++ b/src/starfleet/utils/plugin_loader.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # from importlib.metadata import entry_points import importlib from pkgutil import iter_modules diff --git a/src/starfleet/utils/secrets.py b/src/starfleet/utils/secrets.py index acbaa6b..97f0e9e 100644 --- a/src/starfleet/utils/secrets.py +++ b/src/starfleet/utils/secrets.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + import json from typing import Any, Dict diff --git a/src/starfleet/utils/slack.py b/src/starfleet/utils/slack.py index f40e84a..a514b10 100644 --- a/src/starfleet/utils/slack.py +++ b/src/starfleet/utils/slack.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from typing import Any, Dict, List from slack_sdk import WebClient diff --git a/src/starfleet/worker_ships/base_payload_schemas.py b/src/starfleet/worker_ships/base_payload_schemas.py index 6bd7f91..bbeb300 100644 --- a/src/starfleet/worker_ships/base_payload_schemas.py +++ b/src/starfleet/worker_ships/base_payload_schemas.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from typing import List, Any, Dict, TypeVar from marshmallow import Schema, fields, INCLUDE, validates, ValidationError, validate, validates_schema diff --git a/src/starfleet/worker_ships/cli_utils.py b/src/starfleet/worker_ships/cli_utils.py index 757f1ad..7aeaae9 100644 --- a/src/starfleet/worker_ships/cli_utils.py +++ b/src/starfleet/worker_ships/cli_utils.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from io import TextIOWrapper from typing import Dict, Any diff --git a/src/starfleet/worker_ships/lambda_utils.py b/src/starfleet/worker_ships/lambda_utils.py index 45388d5..f544ca0 100644 --- a/src/starfleet/worker_ships/lambda_utils.py +++ b/src/starfleet/worker_ships/lambda_utils.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + import os from functools import wraps from typing import Callable, Dict, Type, Any diff --git a/src/starfleet/worker_ships/loader.py b/src/starfleet/worker_ships/loader.py index 6100d5d..70239ef 100644 --- a/src/starfleet/worker_ships/loader.py +++ b/src/starfleet/worker_ships/loader.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from typing import Dict import starfleet.worker_ships.plugins @@ -53,7 +54,9 @@ def load_all_plugins(self): # If there is a configuration entry, then we need to validate the correct configuration: errors = plugin.configuration_template_class().validate(worker_ship_config) # noqa if errors: - raise BadConfigurationError(f"[💥] Worker ship: {plugin.get_worker_ship_name()} has an invalid configuration. {str(errors)}") # noqa + raise BadConfigurationError( + f"[💥] Worker ship: {plugin.get_worker_ship_name()} has an invalid configuration. {str(errors)}" + ) # noqa # Check that the worker ship is enabled: if not worker_ship_config["Enabled"]: diff --git a/src/starfleet/worker_ships/niceties.py b/src/starfleet/worker_ships/niceties.py index df90c7e..0e3ef47 100644 --- a/src/starfleet/worker_ships/niceties.py +++ b/src/starfleet/worker_ships/niceties.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + import datetime import json from typing import Any diff --git a/src/starfleet/worker_ships/plugins/account_index_generator/__init__.py b/src/starfleet/worker_ships/plugins/account_index_generator/__init__.py index c116e0c..ebc3bb1 100644 --- a/src/starfleet/worker_ships/plugins/account_index_generator/__init__.py +++ b/src/starfleet/worker_ships/plugins/account_index_generator/__init__.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from starfleet.worker_ships.plugins.account_index_generator.ship import AccountIndexGeneratorShip, account_inventory WORKER_SHIP_PLUGINS = [AccountIndexGeneratorShip] diff --git a/src/starfleet/worker_ships/plugins/account_index_generator/ship.py b/src/starfleet/worker_ships/plugins/account_index_generator/ship.py index 5812a1b..9e7db14 100644 --- a/src/starfleet/worker_ships/plugins/account_index_generator/ship.py +++ b/src/starfleet/worker_ships/plugins/account_index_generator/ship.py @@ -8,6 +8,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from datetime import datetime import json from typing import Dict, Any, TypeVar diff --git a/src/starfleet/worker_ships/plugins/account_index_generator/utils.py b/src/starfleet/worker_ships/plugins/account_index_generator/utils.py index 9149c18..0589743 100644 --- a/src/starfleet/worker_ships/plugins/account_index_generator/utils.py +++ b/src/starfleet/worker_ships/plugins/account_index_generator/utils.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + import asyncio from asyncio import AbstractEventLoop from concurrent.futures import ThreadPoolExecutor diff --git a/src/starfleet/worker_ships/plugins/aws_config/__init__.py b/src/starfleet/worker_ships/plugins/aws_config/__init__.py index 00713b3..85fdaae 100644 --- a/src/starfleet/worker_ships/plugins/aws_config/__init__.py +++ b/src/starfleet/worker_ships/plugins/aws_config/__init__.py @@ -9,6 +9,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from starfleet.worker_ships.plugins.aws_config.ship import AwsConfigWorkerShip, aws_config WORKER_SHIP_PLUGINS = [AwsConfigWorkerShip] diff --git a/src/starfleet/worker_ships/plugins/aws_config/logic.py b/src/starfleet/worker_ships/plugins/aws_config/logic.py index 2098d90..49e444c 100644 --- a/src/starfleet/worker_ships/plugins/aws_config/logic.py +++ b/src/starfleet/worker_ships/plugins/aws_config/logic.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + import json from difflib import Differ from enum import Enum diff --git a/src/starfleet/worker_ships/plugins/aws_config/schemas.py b/src/starfleet/worker_ships/plugins/aws_config/schemas.py index a870b2f..8bb0654 100644 --- a/src/starfleet/worker_ships/plugins/aws_config/schemas.py +++ b/src/starfleet/worker_ships/plugins/aws_config/schemas.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from enum import Enum from typing import Any, Dict diff --git a/src/starfleet/worker_ships/plugins/aws_config/ship.py b/src/starfleet/worker_ships/plugins/aws_config/ship.py index 948c864..d646c18 100644 --- a/src/starfleet/worker_ships/plugins/aws_config/ship.py +++ b/src/starfleet/worker_ships/plugins/aws_config/ship.py @@ -8,6 +8,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + import json import traceback from typing import Dict, Any, TypeVar diff --git a/src/starfleet/worker_ships/plugins/github_sync/__init__.py b/src/starfleet/worker_ships/plugins/github_sync/__init__.py index 1e1ae82..03765ab 100644 --- a/src/starfleet/worker_ships/plugins/github_sync/__init__.py +++ b/src/starfleet/worker_ships/plugins/github_sync/__init__.py @@ -10,6 +10,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from starfleet.worker_ships.plugins.github_sync.ship import GitHubSyncWorkerShip, sync_github WORKER_SHIP_PLUGINS = [GitHubSyncWorkerShip] diff --git a/src/starfleet/worker_ships/plugins/github_sync/auth.py b/src/starfleet/worker_ships/plugins/github_sync/auth.py index da897e3..9d2b31e 100644 --- a/src/starfleet/worker_ships/plugins/github_sync/auth.py +++ b/src/starfleet/worker_ships/plugins/github_sync/auth.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from datetime import datetime, timezone from functools import wraps from typing import Dict, Any, Callable diff --git a/src/starfleet/worker_ships/plugins/github_sync/ship.py b/src/starfleet/worker_ships/plugins/github_sync/ship.py index 044f008..69561c9 100644 --- a/src/starfleet/worker_ships/plugins/github_sync/ship.py +++ b/src/starfleet/worker_ships/plugins/github_sync/ship.py @@ -10,6 +10,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=too-many-locals,too-many-statements import json import tempfile diff --git a/src/starfleet/worker_ships/plugins/github_sync/utils.py b/src/starfleet/worker_ships/plugins/github_sync/utils.py index 148df5f..c6c4850 100644 --- a/src/starfleet/worker_ships/plugins/github_sync/utils.py +++ b/src/starfleet/worker_ships/plugins/github_sync/utils.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + import hashlib import os import re diff --git a/src/starfleet/worker_ships/plugins/iam/__init__.py b/src/starfleet/worker_ships/plugins/iam/__init__.py index a92b6bc..3eadfaf 100644 --- a/src/starfleet/worker_ships/plugins/iam/__init__.py +++ b/src/starfleet/worker_ships/plugins/iam/__init__.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + import click from starfleet.worker_ships.plugins.iam.role_ship import IamRoleWorkerShip, role diff --git a/src/starfleet/worker_ships/plugins/iam/iambic_imports.py b/src/starfleet/worker_ships/plugins/iam/iambic_imports.py index 23097c9..fd7d8d0 100644 --- a/src/starfleet/worker_ships/plugins/iam/iambic_imports.py +++ b/src/starfleet/worker_ships/plugins/iam/iambic_imports.py @@ -5,6 +5,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-import,wrong-import-position,wrong-import-order from unittest import mock diff --git a/src/starfleet/worker_ships/plugins/iam/role_ship.py b/src/starfleet/worker_ships/plugins/iam/role_ship.py index 4a150a0..41c7362 100644 --- a/src/starfleet/worker_ships/plugins/iam/role_ship.py +++ b/src/starfleet/worker_ships/plugins/iam/role_ship.py @@ -8,6 +8,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=too-many-locals,too-many-statements,too-many-branches import asyncio import json @@ -64,7 +65,7 @@ def render_iambic_template(self, commit: bool = False) -> Dict[str, Any]: """This will render the iambic template and return it back out.""" return render_iambic_template(self.payload, IambicTemplateTypes.IAM_ROLE, commit) - def prepare_iambic_template(self, rendered_template: Dict[str, Any]) -> "AwsIamRoleTemplate": + def prepare_iambic_template(self, rendered_template: Dict[str, Any]) -> "AwsIamRoleTemplate": # noqa """This will perform the additional validation that is needed to load and generate the iambic template.""" from starfleet.worker_ships.plugins.iam.iambic_imports import AwsIamRoleTemplate diff --git a/src/starfleet/worker_ships/plugins/iam/schemas.py b/src/starfleet/worker_ships/plugins/iam/schemas.py index f77264d..0a5f0bf 100644 --- a/src/starfleet/worker_ships/plugins/iam/schemas.py +++ b/src/starfleet/worker_ships/plugins/iam/schemas.py @@ -5,6 +5,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + import copy from enum import Enum from typing import Any, Dict, List @@ -68,7 +69,7 @@ def render_iambic_template(template: Dict[str, Any], template_type: IambicTempla return rendered_template -def make_iambic_variables(template_variables: List[Dict[str, str]]) -> List["Variable"]: +def make_iambic_variables(template_variables: List[Dict[str, str]]) -> List["Variable"]: # noqa """This will make the iambic variable objects from the Starfleet template variables.""" from starfleet.worker_ships.plugins.iam.iambic_imports import Variable @@ -79,7 +80,7 @@ def make_iambic_variables(template_variables: List[Dict[str, str]]) -> List["Var return iambic_variables -def render_iambic_stanza(template_stanza: Any) -> Any: # pylint: disable=too-many-branches +def render_iambic_stanza(template_stanza: Any) -> Any: # noqa # pylint: disable=too-many-branches """This is going to recursively iterate over the iambic template and render out the stanzas as appropriate.""" # Is this a dictionary? if isinstance(template_stanza, dict): diff --git a/src/starfleet/worker_ships/ship_schematics.py b/src/starfleet/worker_ships/ship_schematics.py index fa9b063..a5ce346 100644 --- a/src/starfleet/worker_ships/ship_schematics.py +++ b/src/starfleet/worker_ships/ship_schematics.py @@ -11,6 +11,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from enum import Enum from typing import Any, Dict, Type, TypeVar diff --git a/tests/account_index/conftest.py b/tests/account_index/conftest.py index d36e7d8..f356a71 100644 --- a/tests/account_index/conftest.py +++ b/tests/account_index/conftest.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument from typing import Generator, Any, Dict diff --git a/tests/account_index/test_account_index_components.py b/tests/account_index/test_account_index_components.py index d7a45a2..497439f 100644 --- a/tests/account_index/test_account_index_components.py +++ b/tests/account_index/test_account_index_components.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument from typing import Any, Dict from unittest import mock diff --git a/tests/account_index/test_resolvers.py b/tests/account_index/test_resolvers.py index 36ebb58..676fcd7 100644 --- a/tests/account_index/test_resolvers.py +++ b/tests/account_index/test_resolvers.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument from typing import Any, Dict diff --git a/tests/account_index/testing_plugins/basic_plugin/__init__.py b/tests/account_index/testing_plugins/basic_plugin/__init__.py index fcb8db3..8277f1b 100644 --- a/tests/account_index/testing_plugins/basic_plugin/__init__.py +++ b/tests/account_index/testing_plugins/basic_plugin/__init__.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + import json import warnings from typing import Dict, Set diff --git a/tests/conftest.py b/tests/conftest.py index d7b06d7..5d9eaf7 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=redefined-outer-name,unused-argument import os diff --git a/tests/starbase/conftest.py b/tests/starbase/conftest.py index 4b17a8d..40a96a6 100644 --- a/tests/starbase/conftest.py +++ b/tests/starbase/conftest.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + import json # pylint: disable=unused-argument,redefined-outer-name diff --git a/tests/starbase/test_starbase.py b/tests/starbase/test_starbase.py index 89d2f11..55065f8 100644 --- a/tests/starbase/test_starbase.py +++ b/tests/starbase/test_starbase.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument,too-many-locals import json diff --git a/tests/starbase/test_utils.py b/tests/starbase/test_utils.py index 7f9307a..4e29cd6 100644 --- a/tests/starbase/test_utils.py +++ b/tests/starbase/test_utils.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument from unittest import mock diff --git a/tests/starfleet_included_plugins/account_index_generator/conftest.py b/tests/starfleet_included_plugins/account_index_generator/conftest.py index c084d71..1ee9327 100644 --- a/tests/starfleet_included_plugins/account_index_generator/conftest.py +++ b/tests/starfleet_included_plugins/account_index_generator/conftest.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=redefined-outer-name,unused-argument,duplicate-code import json from datetime import datetime diff --git a/tests/starfleet_included_plugins/account_index_generator/generatedIndex.json b/tests/starfleet_included_plugins/account_index_generator/generatedIndex.json index 3c2b706..3e98083 100644 --- a/tests/starfleet_included_plugins/account_index_generator/generatedIndex.json +++ b/tests/starfleet_included_plugins/account_index_generator/generatedIndex.json @@ -5,7 +5,7 @@ "Email": "account1@company.com", "Id": "000000000001", "JoinedMethod": "INVITED", - "JoinedTimestamp": "2023-09-01 16:05:01.864191", + "JoinedTimestamp": "2024-03-27 18:38:27.526430", "Name": "Account 1", "Parents": [ { @@ -32,6 +32,7 @@ "ap-southeast-3", "ap-southeast-4", "ca-central-1", + "ca-west-1", "cn-north-1", "cn-northwest-1", "eu-central-1", @@ -65,7 +66,7 @@ "Email": "account2@company.com", "Id": "000000000002", "JoinedMethod": "INVITED", - "JoinedTimestamp": "2023-09-01 16:05:01.864193", + "JoinedTimestamp": "2024-03-27 18:38:27.526432", "Name": "Account 2", "Parents": [ { @@ -92,6 +93,7 @@ "ap-southeast-3", "ap-southeast-4", "ca-central-1", + "ca-west-1", "cn-north-1", "cn-northwest-1", "eu-central-1", @@ -125,7 +127,7 @@ "Email": "account3@company.com", "Id": "000000000003", "JoinedMethod": "INVITED", - "JoinedTimestamp": "2023-09-01 16:05:01.864194", + "JoinedTimestamp": "2024-03-27 18:38:27.526433", "Name": "Account 3", "Parents": [ { @@ -152,6 +154,7 @@ "ap-southeast-3", "ap-southeast-4", "ca-central-1", + "ca-west-1", "cn-north-1", "cn-northwest-1", "eu-central-1", @@ -185,7 +188,7 @@ "Email": "account4@company.com", "Id": "000000000004", "JoinedMethod": "INVITED", - "JoinedTimestamp": "2023-09-01 16:05:01.864195", + "JoinedTimestamp": "2024-03-27 18:38:27.526433", "Name": "Account 4", "Parents": [ { @@ -212,6 +215,7 @@ "ap-southeast-3", "ap-southeast-4", "ca-central-1", + "ca-west-1", "cn-north-1", "cn-northwest-1", "eu-central-1", @@ -245,7 +249,7 @@ "Email": "account5@company.com", "Id": "000000000005", "JoinedMethod": "INVITED", - "JoinedTimestamp": "2023-09-01 16:05:01.864196", + "JoinedTimestamp": "2024-03-27 18:38:27.526434", "Name": "Account 5", "Parents": [ { @@ -272,6 +276,7 @@ "ap-southeast-3", "ap-southeast-4", "ca-central-1", + "ca-west-1", "cn-north-1", "cn-northwest-1", "eu-central-1", @@ -305,7 +310,7 @@ "Email": "account6@company.com", "Id": "000000000006", "JoinedMethod": "INVITED", - "JoinedTimestamp": "2023-09-01 16:05:01.864206", + "JoinedTimestamp": "2024-03-27 18:38:27.526447", "Name": "Account 6", "Parents": [ { @@ -332,6 +337,7 @@ "ap-southeast-3", "ap-southeast-4", "ca-central-1", + "ca-west-1", "cn-north-1", "cn-northwest-1", "eu-central-1", @@ -365,7 +371,7 @@ "Email": "account7@company.com", "Id": "000000000007", "JoinedMethod": "INVITED", - "JoinedTimestamp": "2023-09-01 16:05:01.864207", + "JoinedTimestamp": "2024-03-27 18:38:27.526448", "Name": "Account 7", "Parents": [ { @@ -392,6 +398,7 @@ "ap-southeast-3", "ap-southeast-4", "ca-central-1", + "ca-west-1", "cn-north-1", "cn-northwest-1", "eu-central-1", @@ -425,7 +432,7 @@ "Email": "account8@company.com", "Id": "000000000008", "JoinedMethod": "INVITED", - "JoinedTimestamp": "2023-09-01 16:05:01.864208", + "JoinedTimestamp": "2024-03-27 18:38:27.526449", "Name": "Account 8", "Parents": [ { @@ -452,6 +459,7 @@ "ap-southeast-3", "ap-southeast-4", "ca-central-1", + "ca-west-1", "cn-north-1", "cn-northwest-1", "eu-central-1", @@ -485,7 +493,7 @@ "Email": "account9@company.com", "Id": "000000000009", "JoinedMethod": "INVITED", - "JoinedTimestamp": "2023-09-01 16:05:01.864208", + "JoinedTimestamp": "2024-03-27 18:38:27.526450", "Name": "Account 9", "Parents": [ { @@ -512,6 +520,7 @@ "ap-southeast-3", "ap-southeast-4", "ca-central-1", + "ca-west-1", "cn-north-1", "cn-northwest-1", "eu-central-1", @@ -545,7 +554,7 @@ "Email": "account10@company.com", "Id": "000000000010", "JoinedMethod": "INVITED", - "JoinedTimestamp": "2023-09-01 16:05:01.864209", + "JoinedTimestamp": "2024-03-27 18:38:27.526451", "Name": "Account 10", "Parents": [ { @@ -582,6 +591,7 @@ "ap-southeast-3", "ap-southeast-4", "ca-central-1", + "ca-west-1", "cn-north-1", "cn-northwest-1", "eu-central-1", @@ -615,7 +625,7 @@ "Email": "account11@company.com", "Id": "000000000011", "JoinedMethod": "INVITED", - "JoinedTimestamp": "2023-09-01 16:05:01.864217", + "JoinedTimestamp": "2024-03-27 18:38:27.526459", "Name": "Account 11", "Parents": [ { @@ -647,6 +657,7 @@ "ap-southeast-3", "ap-southeast-4", "ca-central-1", + "ca-west-1", "cn-north-1", "cn-northwest-1", "eu-central-1", @@ -680,7 +691,7 @@ "Email": "account12@company.com", "Id": "000000000012", "JoinedMethod": "INVITED", - "JoinedTimestamp": "2023-09-01 16:05:01.864218", + "JoinedTimestamp": "2024-03-27 18:38:27.526460", "Name": "Account 12", "Parents": [ { @@ -707,6 +718,7 @@ "ap-southeast-3", "ap-southeast-4", "ca-central-1", + "ca-west-1", "cn-north-1", "cn-northwest-1", "eu-central-1", @@ -740,7 +752,7 @@ "Email": "account13@company.com", "Id": "000000000013", "JoinedMethod": "INVITED", - "JoinedTimestamp": "2023-09-01 16:05:01.864219", + "JoinedTimestamp": "2024-03-27 18:38:27.526461", "Name": "Account 13", "Parents": [ { @@ -767,6 +779,7 @@ "ap-southeast-3", "ap-southeast-4", "ca-central-1", + "ca-west-1", "cn-north-1", "cn-northwest-1", "eu-central-1", @@ -800,7 +813,7 @@ "Email": "account14@company.com", "Id": "000000000014", "JoinedMethod": "INVITED", - "JoinedTimestamp": "2023-09-01 16:05:01.864220", + "JoinedTimestamp": "2024-03-27 18:38:27.526462", "Name": "Account 14", "Parents": [ { @@ -827,6 +840,7 @@ "ap-southeast-3", "ap-southeast-4", "ca-central-1", + "ca-west-1", "cn-north-1", "cn-northwest-1", "eu-central-1", @@ -860,7 +874,7 @@ "Email": "account15@company.com", "Id": "000000000015", "JoinedMethod": "INVITED", - "JoinedTimestamp": "2023-09-01 16:05:01.864221", + "JoinedTimestamp": "2024-03-27 18:38:27.526463", "Name": "Account 15", "Parents": [ { @@ -887,6 +901,7 @@ "ap-southeast-3", "ap-southeast-4", "ca-central-1", + "ca-west-1", "cn-north-1", "cn-northwest-1", "eu-central-1", @@ -920,7 +935,7 @@ "Email": "account16@company.com", "Id": "000000000016", "JoinedMethod": "INVITED", - "JoinedTimestamp": "2023-09-01 16:05:01.864228", + "JoinedTimestamp": "2024-03-27 18:38:27.526471", "Name": "Account 16", "Parents": [ { @@ -947,6 +962,7 @@ "ap-southeast-3", "ap-southeast-4", "ca-central-1", + "ca-west-1", "cn-north-1", "cn-northwest-1", "eu-central-1", @@ -980,7 +996,7 @@ "Email": "account17@company.com", "Id": "000000000017", "JoinedMethod": "INVITED", - "JoinedTimestamp": "2023-09-01 16:05:01.864229", + "JoinedTimestamp": "2024-03-27 18:38:27.526472", "Name": "Account 17", "Parents": [ { @@ -1007,6 +1023,7 @@ "ap-southeast-3", "ap-southeast-4", "ca-central-1", + "ca-west-1", "cn-north-1", "cn-northwest-1", "eu-central-1", @@ -1040,7 +1057,7 @@ "Email": "account18@company.com", "Id": "000000000018", "JoinedMethod": "INVITED", - "JoinedTimestamp": "2023-09-01 16:05:01.864230", + "JoinedTimestamp": "2024-03-27 18:38:27.526473", "Name": "Account 18", "Parents": [ { @@ -1067,6 +1084,7 @@ "ap-southeast-3", "ap-southeast-4", "ca-central-1", + "ca-west-1", "cn-north-1", "cn-northwest-1", "eu-central-1", @@ -1100,7 +1118,7 @@ "Email": "account19@company.com", "Id": "000000000019", "JoinedMethod": "INVITED", - "JoinedTimestamp": "2023-09-01 16:05:01.864231", + "JoinedTimestamp": "2024-03-27 18:38:27.526473", "Name": "Account 19", "Parents": [ { @@ -1127,6 +1145,7 @@ "ap-southeast-3", "ap-southeast-4", "ca-central-1", + "ca-west-1", "cn-north-1", "cn-northwest-1", "eu-central-1", @@ -1160,7 +1179,7 @@ "Email": "account20@company.com", "Id": "000000000020", "JoinedMethod": "INVITED", - "JoinedTimestamp": "2023-09-01 16:05:01.864231", + "JoinedTimestamp": "2024-03-27 18:38:27.526474", "Name": "Account 20", "Parents": [ { @@ -1182,6 +1201,7 @@ "ap-southeast-3", "ap-southeast-4", "ca-central-1", + "ca-west-1", "cn-north-1", "cn-northwest-1", "eu-central-1", @@ -1211,5 +1231,5 @@ } } }, - "generated": "2023-09-01T16:05:02Z" + "generated": "2024-03-27T18:38:27Z" } \ No newline at end of file diff --git a/tests/starfleet_included_plugins/account_index_generator/test_account_indexer_ship.py b/tests/starfleet_included_plugins/account_index_generator/test_account_indexer_ship.py index fb2456a..93c4bae 100644 --- a/tests/starfleet_included_plugins/account_index_generator/test_account_indexer_ship.py +++ b/tests/starfleet_included_plugins/account_index_generator/test_account_indexer_ship.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument,too-many-locals import os diff --git a/tests/starfleet_included_plugins/account_index_generator/test_default_account_index.py b/tests/starfleet_included_plugins/account_index_generator/test_default_account_index.py index 18de607..912ea8f 100644 --- a/tests/starfleet_included_plugins/account_index_generator/test_default_account_index.py +++ b/tests/starfleet_included_plugins/account_index_generator/test_default_account_index.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument,too-many-locals from datetime import datetime from typing import Any, Dict diff --git a/tests/starfleet_included_plugins/aws_config/conftest.py b/tests/starfleet_included_plugins/aws_config/conftest.py index fb1e18f..72f7dde 100644 --- a/tests/starfleet_included_plugins/aws_config/conftest.py +++ b/tests/starfleet_included_plugins/aws_config/conftest.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument,unused-import,redefined-outer-name from typing import Any, Dict, Generator diff --git a/tests/starfleet_included_plugins/aws_config/test_logic.py b/tests/starfleet_included_plugins/aws_config/test_logic.py index 9034329..73d5bf2 100644 --- a/tests/starfleet_included_plugins/aws_config/test_logic.py +++ b/tests/starfleet_included_plugins/aws_config/test_logic.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument import os from typing import Any, Dict diff --git a/tests/starfleet_included_plugins/aws_config/test_schemas.py b/tests/starfleet_included_plugins/aws_config/test_schemas.py index cd93fc3..27204ef 100644 --- a/tests/starfleet_included_plugins/aws_config/test_schemas.py +++ b/tests/starfleet_included_plugins/aws_config/test_schemas.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument import pytest import yaml diff --git a/tests/starfleet_included_plugins/aws_config/test_ship.py b/tests/starfleet_included_plugins/aws_config/test_ship.py index 4c7052a..470cbfd 100644 --- a/tests/starfleet_included_plugins/aws_config/test_ship.py +++ b/tests/starfleet_included_plugins/aws_config/test_ship.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument,too-many-locals import json import os diff --git a/tests/starfleet_included_plugins/github_sync/conftest.py b/tests/starfleet_included_plugins/github_sync/conftest.py index 7715ed4..73f93be 100644 --- a/tests/starfleet_included_plugins/github_sync/conftest.py +++ b/tests/starfleet_included_plugins/github_sync/conftest.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument,unused-import,redefined-outer-name import base64 from io import BytesIO diff --git a/tests/starfleet_included_plugins/github_sync/test_auth.py b/tests/starfleet_included_plugins/github_sync/test_auth.py index 5f14a19..fa54f24 100644 --- a/tests/starfleet_included_plugins/github_sync/test_auth.py +++ b/tests/starfleet_included_plugins/github_sync/test_auth.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument,too-many-arguments,too-many-locals from datetime import datetime, timezone from typing import Any, Dict diff --git a/tests/starfleet_included_plugins/github_sync/test_schemas.py b/tests/starfleet_included_plugins/github_sync/test_schemas.py index e389fa5..f53a74a 100644 --- a/tests/starfleet_included_plugins/github_sync/test_schemas.py +++ b/tests/starfleet_included_plugins/github_sync/test_schemas.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + import pytest import yaml from marshmallow import ValidationError diff --git a/tests/starfleet_included_plugins/github_sync/test_ship.py b/tests/starfleet_included_plugins/github_sync/test_ship.py index bfea9c2..a19bcaf 100644 --- a/tests/starfleet_included_plugins/github_sync/test_ship.py +++ b/tests/starfleet_included_plugins/github_sync/test_ship.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument,too-many-arguments,too-many-locals import json import os diff --git a/tests/starfleet_included_plugins/github_sync/test_utils.py b/tests/starfleet_included_plugins/github_sync/test_utils.py index bdc4742..6723329 100644 --- a/tests/starfleet_included_plugins/github_sync/test_utils.py +++ b/tests/starfleet_included_plugins/github_sync/test_utils.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument import os from typing import Any, Dict, Set diff --git a/tests/starfleet_included_plugins/iam/conftest.py b/tests/starfleet_included_plugins/iam/conftest.py index b088f8f..ec35b4b 100644 --- a/tests/starfleet_included_plugins/iam/conftest.py +++ b/tests/starfleet_included_plugins/iam/conftest.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument,unused-import,redefined-outer-name import os from typing import Any, Dict, Generator diff --git a/tests/starfleet_included_plugins/iam/test_role_ship.py b/tests/starfleet_included_plugins/iam/test_role_ship.py index 9bd6ee2..99e1b3e 100644 --- a/tests/starfleet_included_plugins/iam/test_role_ship.py +++ b/tests/starfleet_included_plugins/iam/test_role_ship.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument,unused-import,redefined-outer-name,too-many-locals,no-value-for-parameter,too-many-statements import json import os diff --git a/tests/starfleet_included_plugins/iam/test_schemas.py b/tests/starfleet_included_plugins/iam/test_schemas.py index fe2f42d..ce5fb6b 100644 --- a/tests/starfleet_included_plugins/iam/test_schemas.py +++ b/tests/starfleet_included_plugins/iam/test_schemas.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from unittest import mock import pytest diff --git a/tests/test_cli_components.py b/tests/test_cli_components.py index 47f5164..b0c6b02 100644 --- a/tests/test_cli_components.py +++ b/tests/test_cli_components.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from typing import Any, Dict # pylint: disable=unused-argument diff --git a/tests/test_slack.py b/tests/test_slack.py index 463847d..7614254 100644 --- a/tests/test_slack.py +++ b/tests/test_slack.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument,no-member from typing import Any, Dict from unittest import mock diff --git a/tests/test_starfleet.py b/tests/test_starfleet.py index 5c4072d..6052e52 100644 --- a/tests/test_starfleet.py +++ b/tests/test_starfleet.py @@ -5,6 +5,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + import pytest diff --git a/tests/test_utils.py b/tests/test_utils.py index af239b0..92f65f6 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument import json import logging diff --git a/tests/worker_ship_utils/conftest.py b/tests/worker_ship_utils/conftest.py index 004b0d0..fa9f383 100644 --- a/tests/worker_ship_utils/conftest.py +++ b/tests/worker_ship_utils/conftest.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument from typing import Any, Dict, Generator diff --git a/tests/worker_ship_utils/test_niceties.py b/tests/worker_ship_utils/test_niceties.py index 178e384..5043bc5 100644 --- a/tests/worker_ship_utils/test_niceties.py +++ b/tests/worker_ship_utils/test_niceties.py @@ -5,6 +5,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument import datetime diff --git a/tests/worker_ship_utils/test_schemas.py b/tests/worker_ship_utils/test_schemas.py index 460541c..9d52805 100644 --- a/tests/worker_ship_utils/test_schemas.py +++ b/tests/worker_ship_utils/test_schemas.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + from typing import Any, Dict import pytest diff --git a/tests/worker_ship_utils/test_utils.py b/tests/worker_ship_utils/test_utils.py index 3ecd120..91dd909 100644 --- a/tests/worker_ship_utils/test_utils.py +++ b/tests/worker_ship_utils/test_utils.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument,unused-import,too-many-locals import json diff --git a/tests/worker_ship_utils/test_worker_ship.py b/tests/worker_ship_utils/test_worker_ship.py index 8cdf160..f062ff3 100644 --- a/tests/worker_ship_utils/test_worker_ship.py +++ b/tests/worker_ship_utils/test_worker_ship.py @@ -5,6 +5,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + # pylint: disable=unused-argument from typing import Any, Dict diff --git a/tests/worker_ship_utils/testing_plugins/basic_plugin/__init__.py b/tests/worker_ship_utils/testing_plugins/basic_plugin/__init__.py index 4f8a567..00d2f5c 100644 --- a/tests/worker_ship_utils/testing_plugins/basic_plugin/__init__.py +++ b/tests/worker_ship_utils/testing_plugins/basic_plugin/__init__.py @@ -7,6 +7,7 @@ :License: See the LICENSE file for details :Author: Mike Grima """ + import click from starfleet.worker_ships.ship_schematics import StarfleetWorkerShip, WorkerShipBaseConfigurationTemplate