Skip to content

Commit

Permalink
chore: auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Feb 25, 2025
1 parent 4ebf0fa commit 68c8977
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/ansible_creator/arg_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,6 @@ def _add_plugin_lookup(self, subparser: SubParser[ArgumentParser]) -> None:
self._add_overwrite(parser)
self._add_args_plugin_common(parser)


def _add_plugin_module(self, subparser: SubParser[ArgumentParser]) -> None:
"""Add a module plugin to an existing Ansible collection project.
Expand All @@ -415,7 +414,7 @@ def _add_plugin_module(self, subparser: SubParser[ArgumentParser]) -> None:
self._add_args_common(parser)
self._add_overwrite(parser)
self._add_args_plugin_common(parser)

def _add_overwrite(self, parser: ArgumentParser) -> None:
"""Add overwrite and no-overwrite arguments to the parser.
Expand Down
2 changes: 1 addition & 1 deletion src/ansible_creator/subcommands/add.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def _perform_module_plugin_scaffold(
) -> None:
resources = ("collection_project.plugins.sample_module",)
self._perform_plugin_scaffold(resources, template_data, plugin_path)

def _perform_plugin_scaffold(
self,
resources: tuple[str, ...],
Expand Down

0 comments on commit 68c8977

Please sign in to comment.