From f41f07e45e51ccbabd49848574c33642810a1a67 Mon Sep 17 00:00:00 2001 From: Dan D'Avella Date: Thu, 8 Aug 2024 15:43:28 -0400 Subject: [PATCH] Add `provider` argument to RemediationCodemod (#781) --- src/codemodder/codemods/base_codemod.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/codemodder/codemods/base_codemod.py b/src/codemodder/codemods/base_codemod.py index 7cf24fe9..caf0271c 100644 --- a/src/codemodder/codemods/base_codemod.py +++ b/src/codemodder/codemods/base_codemod.py @@ -331,12 +331,14 @@ def __init__( transformer: BaseTransformerPipeline, default_extensions: list[str] | None = None, requested_rules: list[str] | None = None, + provider: str | None = None, ): super().__init__( metadata=metadata, detector=detector, transformer=transformer, default_extensions=default_extensions, + provider=provider, ) self.requested_rules = [] if requested_rules: