Skip to content

Commit

Permalink
fix apply_rule (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
clavedeluna authored Oct 16, 2023
1 parent a431052 commit 1b76913
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/codemodder/codemods/base_codemod.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from dataclasses import dataclass
from enum import Enum
from pathlib import Path
from typing import List, ClassVar

from libcst._position import CodeRange
Expand Down Expand Up @@ -100,7 +99,7 @@ def __init__(self, *args):

@classmethod
def apply_rule(
cls, context, *args, yaml_files: List[Path], **kwargs
cls, context, yaml_files, *args, **kwargs
): # pylint: disable=arguments-differ
"""
Apply semgrep to gather rule results
Expand Down

0 comments on commit 1b76913

Please sign in to comment.