Skip to content

Commit

Permalink
feat: deprecate mecha.contrib.inline_function_tag
Browse files Browse the repository at this point in the history
  • Loading branch information
vberlier committed Nov 23, 2022
1 parent b480cea commit c748479
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mecha/contrib/inline_function_tag.py
Expand Up @@ -6,6 +6,7 @@
]


import logging
from dataclasses import dataclass, replace
from importlib.resources import read_text
from typing import List
Expand All @@ -27,8 +28,12 @@
rule,
)

logger = logging.getLogger(__name__)


def beet_default(ctx: Context):
logger.warning('Deprecated in favor of "mecha.contrib.nested_resources".')

mc = ctx.inject(Mecha)

commands_json = read_text("mecha.resources", "inline_function_tag.json")
Expand Down

0 comments on commit c748479

Please sign in to comment.