nova/nova/tests
Stephen Finucane 51d16adda6 mypy: Add type annotations to 'nova.pci'
The 'nova.pci' module is poorly understood and difficult to debug.
Start adding type hints to make this a little easier to parse and catch
dumb errors. Some code needs to be reworked to make 'mypy' happy, but
it's mostly just type annotations.

Note that because of how the 'nova.objects' module works, we need to
delay interpolation by using forward references, or expressing the type
as string literals to be resolved later [1].

[1] https://www.python.org/dev/peps/pep-0484/#forward-references

Change-Id: I2a609606806c6cabdf95d53339335f61743fc5b0
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2021-04-26 18:06:21 +01:00
..
functional Merge "Placeholders for DB migration backports to Wallaby" 2021-04-15 20:21:41 +00:00
unit mypy: Add type annotations to 'nova.pci' 2021-04-26 18:06:21 +01:00
__init__.py
fixtures.py Neutron fixture: don't clobber profile and vif_details if empty 2021-04-01 12:20:12 -04:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00