Skip to content

mypy strict typing #479

@stefanor

Description

@stefanor

Feature Request

For projects that have embraced type checking, it would be useful if hcloud could pass mypy's strict typing.

e.g. at the moment, using the canonical imports in a strict project would result in:

error: Module "hcloud.images" does not explicitly export attribute "Image"  [attr-defined]

Describe the solution you'd like

Work you way up to being able to pass mypy --strict

This can be done one step at a time, enabling features in pyproject.toml to ensure they don't regress

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions