Skip to content

Conversation

@vnmabus
Copy link
Member

@vnmabus vnmabus commented Jun 20, 2022

No description provided.

from typing_extensions import Literal

import rdata
import skdatasets

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
F401 'skdatasets' imported but unused

from typing_extensions import Literal

import rdata
import skdatasets

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
I001 isort found an import in the wrong position

def _physionet_to_fdatagrid(
name: str,
data: DataFrame,
mode: Literal[

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
WPS320 Found multi-line function type annotation

)


def fetch_physionet(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
WPS320 Found multi-line function type annotation

name: str,
*,
return_X_y: bool = False,
as_frame: bool = True,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
DAR101 Missing parameter(s) in Docstring: - as_frame

Examples:
>>> import skfda
>>> X, y = skfda.datasets.fetch_physionet("ctu-uhb-ctgdb", return_X_y=True, mode="truncate_right")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
E501 line too long (106 > 79 characters)

from . import registration
from . import smoothing
from . import dim_reduction
from . import (

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
D104 Missing docstring in public package

@@ -0,0 +1 @@
from ._interpolate import MissingValuesInterpolation

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
D104 Missing docstring in public package

return fdatagrid.copy(data_matrix=data_matrix)


class MissingValuesInterpolation(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
D101 Missing docstring in public class

InductiveTransformerMixin[T, T, Any],
):

def transform(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
D102 Missing docstring in public method


from ..._utils._sklearn_adapter import BaseEstimator, InductiveTransformerMixin
from ...representation import FDataGrid
from ...representation._typing import GridPoints, NDArrayFloat, NDArrayInt

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [mypy] reported by reviewdog 🐶
Cannot find implementation or library stub for module named "skfda.representation._typing" [import]

*,
return_X_y: bool = False,
as_frame: bool = True,
target_column: str | Sequence[str] | None = None,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
F821 undefined name 'Sequence'

**kwargs: Any,
) -> (
Bunch
| Tuple[NDArrayAny, NDArrayAny | None]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
F821 undefined name 'NDArrayAny'

**kwargs: Any,
) -> (
Bunch
| Tuple[NDArrayAny, NDArrayAny | None]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pep8] reported by reviewdog 🐶
F821 undefined name 'NDArrayAny'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant