Skip to content

Commit

Permalink
Linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Dec 25, 2021
1 parent ecb8922 commit b1a4b9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/antsibull/jinja2/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ def extract_plugin_data(context: Context) -> t.Tuple[str, str]:
plugin_type = context.get('plugin_type')
if plugin_fqcn is None or plugin_type is None:
return None, None
if plugin_type == 'role':
entry_point = context.get('entry_point', 'main')
# FIXME: use entry_point
# if plugin_type == 'role':
# entry_point = context.get('entry_point', 'main')
# # FIXME: use entry_point
return plugin_fqcn, plugin_type


Expand Down
1 change: 0 additions & 1 deletion src/sphinx_antsibull_ext/roles.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ def option_role(name, rawtext, text, lineno, inliner, options={}, content=[]):
:param options: Directive options for customization.
:param content: The directive content for customization.
"""
children = []
classes = []
try:
plugin_fqcn, plugin_type, option_link, option, value = parse_option(
Expand Down

0 comments on commit b1a4b9e

Please sign in to comment.