Skip to content

Fix mypy warnings about untyped functions #1327

@Mr-Geekman

Description

@Mr-Geekman

🚀 Feature Request

Fix mypy warnings about untyped functions, because now it shows warnings like:

etna/transforms/decomposition/change_points_based/per_interval_models/constant.py:13: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]

Proposal

  • Fix warnings
  • Try to add option disallow-untyped-defs
    • It there aren't too many errors fix them and keep this option

Test cases

No response

Additional context

Developing in docs-prototype branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestpriority/mediumMedium priority task

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions