Skip to content

Commit

Permalink
fix: Black
Browse files Browse the repository at this point in the history
  • Loading branch information
snaselj committed Sep 13, 2023
1 parent c7c5ed8 commit 7210bd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions nautobot_golden_config/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,7 @@ def run(self, **data):
# Instantiate a GitRepo object for each GitRepository in GoldenConfigSettings.
intended_repos = get_refreshed_repos(job_obj=self, repo_type="intended_repository", data=data)

self.logger.debug(
"Building device settings mapping and running intended config nornir play."
)
self.logger.debug("Building device settings mapping and running intended config nornir play.")
config_intended(self, data)

# Commit / Push each repo after job is completed.
Expand Down
3 changes: 2 additions & 1 deletion nautobot_golden_config/nornir_plays/config_compliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ def run_compliance( # pylint: disable=too-many-arguments,too-many-locals
platform = obj.platform.network_driver
if not rules.get(platform):
error_msg = (
f"E3007: There is no defined `Configuration Rule` for platform network_driver `{platform}`, preemptively failed."
f"E3007: There is no defined `Configuration Rule` for platform network_driver `{platform}`, "
"preemptively failed."
)
logger.log_error(error_msg, extra={"object": obj})
raise NornirNautobotException(error_msg)
Expand Down

0 comments on commit 7210bd9

Please sign in to comment.