Skip to content

Commit

Permalink
Add provider argument to RemediationCodemod (#781)
Browse files Browse the repository at this point in the history
  • Loading branch information
drdavella authored Aug 8, 2024
1 parent 2c63203 commit f41f07e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/codemodder/codemods/base_codemod.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f41f07e

Please sign in to comment.