Skip to content

Type hinting #258

@sobolevn

Description

@sobolevn

I have started to use mypy. Aaaand it is not so good right now.

Libraries lack typing support. And I know that mimesis support only python3.
Do you consider adding type hints?

There are some advantages:

  • stricter API
  • static analysis support to improve quality

There are some disadvantages:

  • type hinting was introduced in python3.5, so any version prior to that will have to use special comments or other hacks
  • a lot of manual work
  • possible API changes

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions