Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typing to fix pre-commit #49

Merged
merged 1 commit into from
Sep 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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