Skip to content

Commit

Permalink
fix typing to fix pre-commit (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
clavedeluna authored Sep 27, 2023
1 parent ca2b7f5 commit df11542
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/codemodder/registry.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from dataclasses import dataclass, asdict
from importlib.abc import Traversable
from importlib.resources import files
from importlib.metadata import entry_points
from typing import Optional
from types import ModuleType

from codemodder.logging import logger

Expand All @@ -23,8 +23,8 @@ class _CodemodWrapper:

origin: str
codemod: type
docs_module: ModuleType
semgrep_config_module: ModuleType
docs_module: Traversable
semgrep_config_module: Traversable

def __call__(self, *args, **kwargs):
return self.codemod(*args, **kwargs)
Expand Down

0 comments on commit df11542

Please sign in to comment.