diff --git a/nautobot_golden_config/nornir_plays/config_intended.py b/nautobot_golden_config/nornir_plays/config_intended.py index 686a548f..ea5c2692 100644 --- a/nautobot_golden_config/nornir_plays/config_intended.py +++ b/nautobot_golden_config/nornir_plays/config_intended.py @@ -4,7 +4,6 @@ import os from datetime import datetime -from django.template import engines from django.utils.timezone import make_aware from nautobot_plugin_nornir.constants import NORNIR_SETTINGS @@ -37,7 +36,7 @@ @close_threaded_db_connections -def run_template( # pylint: disable=too-many-arguments +def run_template( # pylint: disable=too-many-arguments,too-many-locals task: Task, logger: NornirLogger, device_to_settings_map, job_class_instance, jinja_env ) -> Result: """Render Jinja Template. diff --git a/nautobot_golden_config/utilities/helper.py b/nautobot_golden_config/utilities/helper.py index 84aada00..d0d7bc06 100644 --- a/nautobot_golden_config/utilities/helper.py +++ b/nautobot_golden_config/utilities/helper.py @@ -23,7 +23,6 @@ from nautobot_golden_config import config as app_config - FRAMEWORK_METHODS = { "default": utils.default_framework, "get_config": utils.get_config_framework,