Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Kss2k committed Jan 17, 2025
1 parent 9a1509b commit 2d431a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rwrapr/rview.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import warnings
from collections.abc import Callable
from collections.abc import Iterator
from typing import Any

import rpy2.robjects as ro
import scipy # type: ignor
import warnings
import scipy # type: ignore

from .nputils import np_collapse
from .rlist import RDict
Expand All @@ -15,7 +15,7 @@
from .toggle_rview import ToggleRView


def warn_s3_rview(x, ignore_s3) -> None:
def warn_s3_rview(x: Any, ignore_s3: bool) -> None:
message: str = """Warning: The object you are trying to convert is an RView object.
It might be an unsupported S3 object, which can be unsafe to convert to a python object.
Use the `ignore_s3` argument to convert anyway."""
Expand Down

0 comments on commit 2d431a7

Please sign in to comment.