Skip to content

Commit

Permalink
Fix typing errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed May 13, 2024
1 parent bf21daf commit 1041b17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion monty/functools.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def __init__(self, func: Callable) -> None:
func: Function to decorate.
"""
self.__func = func
wraps(self.__func)(self)
wraps(self.__func)(self) # type: ignore

def __get__(self, inst: Any, inst_cls) -> Any:
if inst is None:
Expand Down
2 changes: 1 addition & 1 deletion monty/serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
try:
from ruamel.yaml import YAML
except ImportError:
YAML = None
YAML = None # type: ignore

from monty.io import zopen
from monty.json import MontyDecoder, MontyEncoder
Expand Down

0 comments on commit 1041b17

Please sign in to comment.