Static type checking in the CI

Bug #2017974 reported by Tom Weininger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
octavia
In Progress
Undecided
Unassigned

Bug Description

Python supports type annotations since Python 3.6, but Octavia code hasn't used it much so far. By adding more type annotations over time and using a type checker like mypy, we could enable type checks that can be run using tox locally and in the CI system.

Type checking can help detect certain bugs and improve the overall code quality. Apart from that, type annotations can be seen as part of the documentation of the code and help developers and IDE understand the code better.

Changed in octavia:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.