Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
DuniterPy
DuniterPy
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 2
    • Merge Requests 2
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • clients
  • python
  • DuniterPyDuniterPy
  • Issues
  • #52

Closed
Open
Opened May 31, 2018 by Vincent Texier@vtexier
  • Report abuse
  • New issue
Report abuse New issue

Add type annotations (python 3.5) for static typing

To get a strongly typed code, we can use typing annotations and the typing module.

To type-check the code before run-time, we can use our IDE integrated type checking, or better :

  • mypy
  • pyre

A video about typing : https://hooktube.com/watch?v=QCGwDOk-pIs

Edited Sep 05, 2018 by Vincent Texier
Assignee
Assign to
0.50.0
Milestone
0.50.0
Assign milestone
Time tracking
None
Due date
None
2
Labels
Dev Env enhancement
Assign labels
  • View project labels
Reference: clients/python/duniterpy#52